PDA

View Full Version : Remaster to force cheat codes?



Phredd
03-08-2003, 05:09 PM
When remastering can you add cheat codes to make them hardcoded to the new disk?

Say...

boot: knoppix wheelmouse noeject screen=1400x1050

Can I remaster to incorporate this into the boot so that I dont have to type it in each time...?

(the machines I want to do this for do not have floppy drives to do persthome).

ToBi
03-08-2003, 08:26 PM
Hi , You don't even have to remaster (considered as installing whole Knoppix onto hard drive and than changing things you want) , you can add cheatcodes to "autoboot" simply by editing syslinux.cfg on iso before burning (there are some nice tools for that, check out "Things for Knoppix" on http://www.knoppix.net/ ) I especially recommend "knx-customize-image.exe" - nice and very useful when you use the "expert" mode (don't be affraid of it , just remember that syslinux.cfg you've edited MUST be exactly the same size as original one - you will be reminded of it few times ;o)) Anyway , when you get to the point of editing the syslinux.cfg file you'll see the default configuration as the first listed in the file - just type in your desired cheatcodes before or after the first "lang=xx" and remove exactly the same number of X's at the end of the file as the number of characters you've typed in and you're done. You may also want to shorten a bit the DELAY time used before loading the default configuration (including your cheatcodes) - to do so you can change the DELAY value (default is 300) but remember - this is NOT given in seconds 300 is 30 seconds so be aware of it. Good luck !

Phredd
03-08-2003, 09:26 PM
I think Im getting close...

Im trying to get to is this result:

boot: knoppix 3 noeject

So I used the 'knx-customer-image.exe' tool and expertly edited it (removing the proper amount of '#'s) to this:


DEFAULT vmlinuz
APPEND knoppix 3 noeject lang=us ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 initrd=miniroot.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300
...

The "knoppix 3" part (booting to the console) is the MAIN option I need to work...I have tried this and Im having little luck...any idea?

I have tried it WITH and WITHOUT the knoppix to no effect (or is it affect?)

Phredd
03-08-2003, 09:29 PM
The additions (cheat codes) go at the END of the line as seen here "knoppix 3 noeject".

Thx ToBi!!!!!! Couldnt have done it without you!


DEFAULT vmlinuz
APPEND lang=us ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 initrd=miniroot.gz nomce quiet BOOT_IMAGE=knoppix 3 noeject
TIMEOUT 300
...