中国近年加工贸易额:安装linux后怎样设置引导程序?

来源:百度文库 编辑:神马品牌网 时间:2024/05/01 00:04:27
我安装了Radhat Fedora core 4 ,设置引导程序时不小心默认为Fedora core,如何设置默认为windows呢?
# 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,6)
# kernel /vmlinuz-version ro root=/dev/hda8
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,6)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

修改/boot/grub/menu.lst或者grub.conf中的default选项