Open the terminal, run the su command to switch to the root permission, and use vi to open the "grub. conf" file (vi/etc/grub. conf). The content is as follows: # 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, 4)
# Kernel/vmlinuz-version ro root =/dev/VolGroup00/LogVol00
# Initrd-version.img/initrd
# Boot =/dev/sda
Default = 2
Timeout = 5
Splashimage = (hd0, 4)/grub/splash.xpm.gz
Hiddenmenu
Title Fedora (2.6.23.15-80. fc7)
Root (hd0, 4)
Kernel/vmlinuz-2.6.23.15-80.fc7 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.23.15-80.fc7.img
Title Fedora (2.6.21-1.3194.fc7)
Root (hd0, 4)
Kernel/vmlinuz-2.6.21-1.3194.fc7 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.21-1.3194.fc7.img
Title Microsoft Windows Option System
Rootnoverify (hd0, 0)
Chainloader + 1
"Default = 2" is the default startup Item. You can change it.
Vi editor use: http://www.cnblogs.com/EasyData/archive/2008/04/17/1157434.html