Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1014946
  • 博文数量: 227
  • 博客积分: 5951
  • 博客等级: 大校
  • 技术积分: 2598
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-22 17:42
文章分类
文章存档

2015年(2)

2014年(12)

2013年(16)

2012年(22)

2011年(19)

2010年(36)

2009年(77)

2008年(39)

2007年(16)

我的朋友

分类: LINUX

2009-06-24 10:35:15

初装 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 

阅读(1702) | 评论(0) | 转发(0) |
0

上一篇:free

下一篇:fedora 11 频繁死机问题

给主人留下些什么吧!~~