PDA

View Full Version : auto cheat code



dng88
06-18-2003, 02:43 PM
Can you add the knoppix myconfig=auto home=auto into the script so that when the system starts, there is no need to type these cheat code?

Thanks for any help.

Dave_Bechtel
06-19-2003, 02:37 PM
--Yes, but you can really only do this by editing the syslinux.cfg file on the boot floppy. Put that in with the other kernel parms.


Can you add the knoppix myconfig=auto home=auto into the script so that when the system starts, there is no need to type these cheat code?

Thanks for any help.

dng88
06-21-2003, 10:35 AM
Thanks.

:D

Is it n ot possible to use the shell script?

Dave_Bechtel
06-21-2003, 02:26 PM
--I don't understand what you're asking. If you do what I said above, it should work.


Thanks.

:D

Is it n ot possible to use the shell script?

turbine
12-04-2003, 09:35 PM
I did a couple of things to syslinux.cfg to get what you want:

DEFAULT vmlinuz
APPEND ramdisk_size=100000 init=/etc/init lang=us 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 home=scan myconf=scan noprompt noeject BOOT_IMAGE=knoppix
TIMEOUT 1

In the DEFAULT section I added home=scan myconf=scan noprompt noeject

Then I changed TIMEOUT 300 to TIMEOUT 1.

Now when I insert my startup diskette and turn the power on, the system starts right away.

L2Cache
12-04-2003, 11:37 PM
You can put your cheat codes into a custom boot floppy or cd as described on this page:
http://www.cclug.org/wiki/Main/KnoppixTricks