免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4135 | 回复: 0
打印 上一主题 下一主题

[桌面系统] ubuntu 升级到11.04后,grub不能选择windows。 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2011-05-18 16:09 |显示全部楼层
前几天我也碰到类似的问题.baidu 了一下
需要修改一下 etc/grub.conf  的内容

  1. # grub.conf generated by anaconda
  2. #
  3. # Note that you do not have to rerun grub after making changes to this file
  4. # NOTICE:  You do not have a /boot partition.  This means that
  5. #          all kernel and initrd paths are relative to /, eg.
  6. #          root (hd0,7)
  7. #          kernel /boot/vmlinuz-version ro root=/dev/sda8
  8. #          initrd /boot/initrd-[generic-]version.img
  9. #boot=/dev/sda
  10. default=2
  11. timeout=5
  12. splashimage=(hd0,7)/boot/grub/splash.xpm.gz
  13. hiddenmenu
  14. title Fedora (2.6.35.13-91.fc14.i686)
  15.         root (hd0,7)
  16.         kernel /boot/vmlinuz-2.6.35.13-91.fc14.i686 ro root=UUID=6f7470ea-2cbc-4518-80e9-9f37888b1df4 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
  17.         initrd /boot/initramfs-2.6.35.13-91.fc14.i686.img
  18. title Fedora (2.6.35.6-45.fc14.i686)
  19.         root (hd0,7)
  20.         kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=6f7470ea-2cbc-4518-80e9-9f37888b1df4 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
  21.         initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img

  22. title Other
  23.         rootnoverify (hd0,0)
  24.         chainloader +1
复制代码
如果在你的grub.conf 文件里没有下面这段代码。就没发引导windows了。
  1. title Other
  2.         rootnoverify (hd0,0)
  3.         chainloader +1
复制代码
不过我的装的是fedora 14   
如果还有问题帖出来 大家一起讨论。
希望我这对你有帮助
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP