先安装windows xp 在第二块硬盘,在安装fedora 4 到第一块硬盘(均为120G 金钻,IDE),采用默认Grub引导系统,启动windows无法自动启动。修改 Fedora中/boot/grub.conf文件,在windows引导处为:
[code]title window xp
root (hd1,0) %% 注意这里所有hd1需要换成window所在盘
chainloader (hd1,0) +1
makeactive
map (hd0, hd1)
map (hd1,hd0)
boot[/code]
[code]# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,5)
# kernel /boot/vmlinuz-version ro root=/dev/hdb7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd1,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2139_FC5)
root (hd1,5)
kernel /boot/vmlinuz-2.6.17-1.2139_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.17-1.2139_FC5.img
title Fedora Core (2.6.15-1.2054_FC5)
root (hd1,5)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Windows XP
rootnoverify (hd0,1)
chainloader +1[/code]
yinzelei 于 2006-10-16 16:19:08发表:
先安装windows xp 在第二块硬盘,在安装fedora 4 到第一块硬盘(均为120G 金钻,IDE),采用默认Grub引导系统,启动windows无法自动启动。修改 Fedora中/boot/grub.conf文件,在windows引导处为:
[code]title window xp
root (hd1,0) %% 注意这里所有hd1需要换成window所在盘
chainloader (hd1,0) +1
makeactive
map (hd0, hd1)
map (hd1,hd0)
boot[/code]
[code]# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,5)
# kernel /boot/vmlinuz-version ro root=/dev/hdb7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd1,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2139_FC5)
root (hd1,5)
kernel /boot/vmlinuz-2.6.17-1.2139_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.17-1.2139_FC5.img
title Fedora Core (2.6.15-1.2054_FC5)
root (hd1,5)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Windows XP
rootnoverify (hd0,1)
chainloader +1[/code]
yinzelei 于 2006-10-16 16:16:10发表:
不懂,查了些资料还是不能够帮你解决,你把这个问题发给版主帮你吗。发到这里http://www.linuxdiyf.com/bbs/thread-17353-1-1.html