-
Junior Member
registered user
automatically after boot run a bash file
Can you change some setting that after the booting a bash file automatically starts? It must be on CD.
tnx
-
Senior Member
registered user
Re: automatically after boot run a bash file

Originally Posted by
ska_p_te
Can you change some setting that after the booting a bash file automatically starts? It must be on CD.
tnx
Im assuming that you want to run a script just after booting.yes you can.
Goto the menu Knoppix--->Configure and do a save knoppix configuration.
Two files will be created
1>knoppix.sh
2>configs.tbz
Edit the first file knoppix.sh and call your script from this file.
The other option is just create a file named knoppix.sh with all your script code in it.Save it on any partition.
run knoppix with the cheatcode myconf=scan
and your file will be executed
-------------------------------------------------------------
Free Software,Free Speech,Free Society
http://bhavesh.freeshell.org
-
Junior Member
registered user
but can you also place it on the cd? that it automatically starts ?
-
Senior Member
registered user

Originally Posted by
ska_p_te
but can you also place it on the cd? that it automatically starts ?
Unless you want to create your own Knoppix Live CD distribution disc, the answer is NO...
Simple fact is, that, the CD is read-only, you cant write anything to it, thats why when you boot it, it uses a ramdisk ( memory being used as a drive ), when the system reboots, or is powered down, the ramdisk gets evaporated, and thus, so does any changes or configurations that you have made. UNLESS, you use the save configs and / or the save Persistant Home ( which will use a hard drive, writtable media source for storing between boots ).
The other way around this "read-only" issue, is that you create your own Live CD, with your changes in the configs, and boot that. Hence, create your own Knoppix Distro... You might want to check in the other forum, maybe see if someone hasnt already done this, or has tips on how one would do it, I have no clue on the subject, I run a hard drive install, and dont think I need to create my own Distro to get what I need... See what the forum "Customizing & Remastering" has to say... You should be able to get what you want, and hopefully, it isnt that difficult to do
-
Senior Member
registered user

Originally Posted by
ska_p_te
but can you also place it on the cd? that it automatically starts ?
I think you can do that.I have never done it.
But here is the forum which can help you
http://www.knoppix.net/forum/viewforum.php?f=2
-
Yes you can put it on the CD.
My config.tbz and knoppix.sh are both on the CD
and it detects them without any cheatcodes
or altering the isolinux.cfg.
Place the in the /knoppix/ directory
-
Junior Member
registered user
thanks for the reply's and if it works I'll let you know.
It is for a school project and I hope it works
.
tnx
Similar Threads
-
By sunburnt in forum Tips and Tricks
Replies: 5
Last Post: 05-28-2005, 05:39 PM
-
By slowhand in forum Customising & Remastering
Replies: 1
Last Post: 04-17-2005, 10:48 PM
-
By elax in forum Customising & Remastering
Replies: 0
Last Post: 02-26-2005, 04:10 PM
-
By Zero_1984 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 09-28-2004, 04:57 AM
-
By kevinonknoppix in forum Customising & Remastering
Replies: 0
Last Post: 02-24-2004, 08:45 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A
$1731.00

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00

IBM 02AN553 01LL325 IBM I/OADAPTER PCIe / PCN Internal Server Systems Adapter
$199.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5415+ 8 CORE PROCESSOR 2.9 GHZ SRMGC
$1299.00