Other Help Topics :: Boot script



I have DSL booting up from a floppy and then running the restore from hda5.

Works like a charm.  On my little 300mhz laptop.

Anyway...  It gets tedious typing the boot line all the time.  How do I automate that in a script.

Right now I type:  fb800x600 restore=hda5
at the boot: prompt.

Is there a script I can simply add that to or run instead?

yes there is an easy way just edit the options you like at the syslinux.conf file
hth
TOM

The nice thing about booting from a floppy is that you can easily change the syslinux config file and save it.

Then it will boot your new defaults by pressing <ENTER> key at the boot prompt.

It's a little harder when booting from CD because you can't easily edit and save a file that is located on a CD-R disk.

I found the file.  But, I really don't know what to edit.

It looks like there are a series of different boot methods there and one of them is set to DEFAULT.

Where do I put the string I normally use?
fb800x600 restore=hda5

it's the first line of your conf file, (think it starts with "DEFAULT") prob. already has "linux24" on it, just leave a space then put the other options you want to automatically happen...

btw, if you don't want to have to hit <enter> to boot, if you look in the conf file for the word "PROMPT", there's a number 1 after it, change it to 0, and it will boot automatically without you having to do anything, and it will use the parameters specifiied in the first line.

hope this helps (and is correct!)

Phillip

Next Page...
original here.