PDA

View Full Version : Lilo Issues


ComputerDragon79
06-25-2003, 01:45 PM
Is there a way to change the boot order in Lilo (dual boot system) without reinstalling both OS systems. RIght now if boots into Linux first if you don't touch anything, and this computer likes to restart on it's own randomly when nobody is around, and not everybody that uses it knows Linux and they don't know what to do if they come in and see that OS on the screen.

mikeL
06-25-2003, 04:59 PM
yes you can, when you boot into linux log in as root, then from the control center I think under system then look for boot config you can edit lilo from there.

or if you like going by way of command line I would ' su - ' to get root privileges,then type' lilo -D label (label being your windows drive, /dev/hda?

LocoCoyote
06-27-2003, 06:01 AM
log in as root
edit the /etc/lilo.conf file (in RedHat that is where it is)
page down to where it says:

timeout=50
message=/boot/message
lba32
default=linux

change the default=linux to default=(whatever the label is for the OS you want to boot by default)


reboot.

Now that you are done......go and install GRUB. You'll be happier!

mikeL
06-27-2003, 06:36 AM
after you edit the lilo.conf file, you need to run /sbin/lilo for the changes to take effect.

go to the Start panel, then Run, type /sbin/lilo

LocoCoyote
06-27-2003, 06:38 AM
mikeL is right..thanks for correcting my oversite



yet another reason to use GRUB