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: (3) </ [1] 2 3 >/

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

reply to topic new topic new poll
Topic: Boot script< Next Oldest | Next Newest >
durbnpoisn Offline





Group: Members
Posts: 47
Joined: Dec. 2004
Posted: Jan. 15 2005,00:40 QUOTE

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





Group: Members
Posts: 7
Joined: Jan. 2005
Posted: Jan. 15 2005,01:43 QUOTE

yes there is an easy way just edit the options you like at the syslinux.conf file
hth
TOM
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 15 2005,20:33 QUOTE

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





Group: Members
Posts: 47
Joined: Dec. 2004
Posted: Jan. 15 2005,21:55 QUOTE

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
Back to top
Profile PM 
phlapjack77
Unregistered






Posted: Jan. 15 2005,23:26 QUOTE

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
Back to top
12 replies since Jan. 15 2005,00:40 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Boot script

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