mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Aug. 01 2005,21:00 |
|
I wonder if this, or something similar, might be considered for a future release. I thought it would be useful for a couple of reasons: 1) It would allow a user to more easily customize a CD without the need to remaster (just rebuild the ISO). 2) It would save having to repeat some of the same boot options for every bootloader entry, or typing at boot at all. 3) I don't know, but it seems like there's at least a third good reason.
The theory is this: All of your boot options, whether entered at the boot prompt or through the bootloader, are saved to /proc/cmdline for use in startup scripts and whatever else the user might find handy. If there was a simple way for the user to have his own cmdline file outside of the compressed KNOPPIX image, he could put what boot string he wants in that file and it would be appended to /proc/cmdline before the hardware detection and other business gets started. I haven't found where /proc/cmdline is actually created...I'm guessing it's embedded in one of the boot files? What i think might work, though, is if there was a piece of script added to /etc/init.d/knoppix-config, just before the CMDLINE variable is set, which checks for the presence of /boot/cmdline (or whatever file is convenient), and appends its contents to /proc/cmdline.
I don't know how useful others might find this, but considering the power of boot options in DSL I think it would be very nice.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|