Application Tips: Changing the Boot Loader Method under Multiple Systems

  
        

Author: yan

SEOUL -IT technical report] Native existing systems fedora8 + Windows_XP, change the boot order when starting, as follows:

enter fedora8, first Back up the /etc/grub.conf file and type it at the command line:

#gedit /etc/grub.conf

The contents of the file are as follows, and the Chinese part is the comment I added.

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE : You have a /boot partition. This means that

# all kernel and initrd paths are relative to /boot/, eg.

# root (hd0,7)

# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00

# initrd /initrd-version.img

#boot=/dev/sda - This is GRUB installed Location

default=2 ——When starting, GRUB will start the operating system with serial number 2 by default, ie Windows_XP

timeout=5 ——waiting time at startup menu, you can modify it yourself

splashimage=(hd0,7)/grub/splash.xpm.gz - The startup serial number is incremented from 0, Fedora (2.6.24.5-85.fc8) is 0, Fedora (2.6.23.1-42.fc8 ) is 1, Windows_XP is 2. If Windows_XP is placed first, its startup sequence number is 0. In order to start Windows_XP by default, the previous default=2 should be changed to default=0.

hiddenmenu

title Fedora (2.6.24.5-85.fc8) - The title of the Fedora (2.6.24.5-85.fc8) menu at startup, the startup sequence number is 0

root (hd0,7)

kernel /vmlinuz-2.6.24.5-85.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

initrd /initrd-2.6.24.5- 85.fc8.img

title Fedora (2.6.23.1-42.fc8) - The title of the Fedora (2.6.23.1-42.fc8) menu, starting with the sequence number 1

root ( Hd0,7)

kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

initrd /initrd-2.6.23.1-42.fc8. Img

title Windows_XP - The menu title of the Windows_XP system, the startup sequence number is 2

rootnoverify (hd0,0)

chainloader +1

So, To change the boot order, just change the value in the default=2 line.

Copyright © Windows knowledge All Rights Reserved