PDA

View Full Version : Lilo.conf questions



*ix Newbie
12-20-2003, 12:12 AM
How do I edit lilo.conf so that it doesn't show on bootup? I tried setting the delay to 0 (edit:found out lilo.conf doesn't like non integer values) but lilo still pops up on bootup with the same delay it had before (approx 15 sec). Do I have to edit more than the delay?

After I edited and saved lilo.conf I ran lilo by typing "lilo" into a root shell. It didn't give me any errors and everything is still functioning properly (XP and Linux). Are there any arguments I have to give lilo at the shell to make it recognize my new changes?

rickenbacherus
12-20-2003, 12:21 AM
Comment or remove 'prompt'- rerun lilo- done.

*ix Newbie
12-20-2003, 12:47 AM
Thanks, got lilo.conf setup the way I want it, now the other people using the comp don't have to see lilo or Linux when they boot up.

Is there any way to set it up so I can select Knoppix from the boot manager I am using (GAG Graphical Boot Manager on floppy) and it will boot Knoppix automatically (either with or w/o lilo) and have it boot WinXP without any lilo at all if the GAG floppy is not in the drive at boot?

If there isn't any good solution to that, its no problem, using the Knoppix boot floppy to boot is fine with me for now.

Thanks again for the help :) .

Edit(2): My boot disk keeps getting stuck in the drive (can usually get it out tho), this is the only disk that this happens to (talk about luck huh?) so I'm going to try to find out how to make a boot floppy in hd Knoppix.

A. Jorge Garcia
12-20-2003, 03:08 AM
BTW, delay=0 isn't what you want, it's timeout=0.

Regards,

rickenbacherus
12-20-2003, 06:46 AM
Thanks, got lilo.conf setup the way I want it, now the other people using the comp don't have to see lilo or Linux when they boot up.

Is there any way to set it up so I can select Knoppix from the boot manager I am using (GAG Graphical Boot Manager on floppy) and it will boot Knoppix automatically (either with or w/o lilo) and have it boot WinXP without any lilo at all if the GAG floppy is not in the drive at boot?

dunno- never tried GAG. You can have lilo offer you a menu and set it to default to either OS.


Edit(2): My boot disk keeps getting stuck in the drive (can usually get it out tho), this is the only disk that this happens to (talk about luck huh?) so I'm going to try to find out how to make a boot floppy in hd Knoppix.

You can simply issue mkboot and that should get you a floppy. Alternatively if you wanted a copy of your current floppy you could do:

dd if=/dev/fd0 of=/tmp/floppy.img

That gets you a copy, now to put it on the new floppy:

dd if=/tmp/floppy.img of=/dev/fd0

voila!

*ix Newbie
12-20-2003, 05:06 PM
Thanks, thats a lot simpler than other guides on making a boot floppy. I'm assuming for now I don't have to give any arguments to mkboot in order to make the floppy. Edit: mkboot installs lilo on the floppy, when I boot with lilo on the floppy I get an error. Is there any way to make mkboot pretend lilo (or grub) isn't there?

According to lilo.conf, lilo is installed in my linux partition and not the hard drive itself, so it shouldn't be in the MBR, correct?

Lilo is "helping" boot my machine. When I boot it shows the default boot (black screen with dell logo and progress bar) then Lilo tells me its booting WinNT (thats what I set as default). So I'm not completely clear on what's going on at this point, although everything seems to be working fine.