DSL Ideas and Suggestions :: Cheat Codes in a Text File



rm101520271's idea is about all you can do.  kernel parameters are set once and stick permanently...the only way to change them other than by typing in boot options at runtime is to change the bootloader, which is stored in the boot directory of the cd.  Unless you want to rewrite and recompile the bootloader, you will always need to recreate the CD each time you make a change to its defaults.

frugal harddrive install with grub makes this a very easy and flexible process.

Quote (mikshaw @ June 29 2006,22:54)
rm101520271's idea is about all you can do.


mikshaw,
Exactly!  That's why I thought it would be a great addition to a future release.  :)

rm101520271,
I cannot for the life of me find the file you are talking about.  I just burned the .iso of 3.0.1 and here is all that is in the root of the CD:

Code Sample
/boot (directory)
/KNOPPIX (directory)
/lost+found (directory)
index.html


I cannot find it in any of the directories either.  I have looked on the CD using DSL (3.0.1, emelfm as a superuser, hidden files shown) and using an XP machine.  Has the file been moved in this release?  Or am I just totally misunderstanding you?  :D

However, in order to for it to work the DSL devs would need to modify and recompile 4 bootloaders (grub, lilo, isolinux, and syslinux), and possibly do the same to the kernel. That's a pretty big task for such a small function that can be more easily accomplished by individual users.

The bootloader's config is (on the cdrom) /boot/isolinux/isolinux.cfg for a standard CD. This file can be modified without the need to remaster the KNOPPIX file, and the process of rebuilding the ISO is made more friendly by using the mkmydsl script (make myDSL cd remaster).

Quote (mikshaw @ June 30 2006,13:29)

The bootloader's config is (on the cdrom) /boot/isolinux/isolinux.cfg for a standard CD. This file can be modified without the need to remaster the KNOPPIX file, and the process of rebuilding the ISO is made more friendly by using the mkmydsl script (make myDSL cd remaster).

THANKS, mikshaw and rm101520271!

That is exactly the kind of thing I was thinking of.  Thanks for letting me know that it already exists.  :)

Hi all,

I know this has been awhile, been busy with other things, but I just thought I should update this topic.

Unfortunately, isolinux.cfg file does not work for the cheatcodes that I was trying (nodhcp, toram, host, etc.)

So I guess this still is a "Suggestion" for future releases.  I wish I could help to implement, but my Linux knowledge is still in it's infancy - perhaps in a few months...:-)

Anyway, I've thought a little more about the process and it might be a better option to just add a new cheatcode that would cause DSL to look in a specific place for a text file with cheatcodes.  The point would be, you remaster a cd with only one cheatcode, like: "mycheatcodes=cdrom".  Then you can change that cheatcode text file as much as you want by simply overwriting the old file without having to completely remaster your CD.  I think this could be an invaluable tool to further the flexibility of DSL.

Any thoughts?

Next Page...
original here.