初装 fedora 11 安装后发现竟然不能引导原来的XP
查看/boot/grub/menu.ls
内容为
# 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,5)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.5-191.fc11.i686.PAE)
root (hd0,5)
kernel /vmlinuz-2.6.29.5-191.fc11.i686.PAE ro root=UUID=b1b32623-ba0e-4719-b85f-ecdda6bf1c29 rhgb quiet
initrd /initrd-2.6.29.5-191.fc11.i686.PAE.img
title Fedora (2.6.29.4-167.fc11.i686.PAE)
root (hd0,5)
kernel /vmlinuz-2.6.29.4-167.fc11.i686.PAE ro root=UUID=b1b32623-ba0e-4719-b85f-ecdda6bf1c29 rhgb quiet
initrd /initrd-2.6.29.4-167.fc11.i686.PAE.img
title Other
rootnoverify (hd1,0)
chainloader +1
发现XP应该在 (hd0,0)
于是
# 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,5)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.5-191.fc11.i686.PAE)
root (hd0,5)
kernel /vmlinuz-2.6.29.5-191.fc11.i686.PAE ro root=UUID=b1b32623-ba0e-4719-b85f-ecdda6bf1c29 rhgb quiet
initrd /initrd-2.6.29.5-191.fc11.i686.PAE.img
title Fedora (2.6.29.4-167.fc11.i686.PAE)
root (hd0,5)
kernel /vmlinuz-2.6.29.4-167.fc11.i686.PAE ro root=UUID=b1b32623-ba0e-4719-b85f-ecdda6bf1c29 rhgb quiet
initrd /initrd-2.6.29.4-167.fc11.i686.PAE.img
title Other
rootnoverify (hd0,0)
chainloader +1
title Other2
find --set-root /ntldr
chainloader /ntldr
title Other3
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
用Other3 很顺利进入XP
title 启动第一硬盘第一主分区(hd0,0)上的操作系统
rootnoverify (hd0,0)
makeactive
chainloader +1
title 启动第一硬盘第二主分区(hd0,1)上的操作系统
rootnoverify (hd0,1)
makeactive
chainloader +1
title 启动Windows NT/2000/XP/2003
find --set-root /ntldr
chainloader /ntldr
title 启动Microsoft Windows Vista
find --set-root /bootmgr
chainloader /bootmgr
title 启动DOS/Windows 95/98/Me
find --set-root /io.sys
chainloader /io.sys
阅读(1739) | 评论(0) | 转发(0) |