dual OS boot selection

Mogens Kjaer mk at crc.dk
Fri May 20 08:49:55 UTC 2005


Kai Zhang wrote:
> I've installed both OSs. (XP first then Linux). Current boot loader is
> Grub. Is there anyway to modify from there?
> 

Only one way:

Edit /boot/grub/grub.conf

the line default= will tell you which entry
to boot as default.

However, once you've changed this into booting windows,
you can't change it back again in Windows unless you have
access to the keyboard on the machine :-(
This would require a reboot, and manually selecting
Linux.

lilo has a feature where you can select what entry
to boot the next time, thus overwriting the default
entry for the next boot only. Then one would set
lilo to boot Linux by default, and use the command

lilo -R windows

if the entry for windows in lilo.conf is called "windows".
The next time the machine is booted, windows will be started.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list