Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Cheat Codes in a Text File, Cheat code suggestion< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 30 2006,02:54 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
fodder Offline





Group: Members
Posts: 28
Joined: June 2006
Posted: June 30 2006,16:36 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 30 2006,17:29 QUOTE

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).


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
fodder Offline





Group: Members
Posts: 28
Joined: June 2006
Posted: July 02 2006,05:32 QUOTE

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.  :)
Back to top
Profile PM 
fodder Offline





Group: Members
Posts: 28
Joined: June 2006
Posted: May 18 2007,19:38 QUOTE

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?
Back to top
Profile PM 
16 replies since June 13 2006,18:09 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Cheat Codes in a Text File

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code