http://hi.baidu.com/3feiyu/item/df763ed8cc29753a49e1dd23
http://www.2cto.com/os/201208/146630.html
http://whuyinpeng.blog.163.com/blog/static/1738971272010106105035428/
http://www.linuxidc.com/Linux/2007-06/5069.htm
http://blog.csdn.net/zhangqi187/article/details/6408762 对我可用
第二种情况:
首先用同样的方法找出 /boot 独立分区(hd0,x)和 / 分区(hd0,y),然后执行下列命令:
grub rescue>root=(hd0,x)
grub rescue>prefix=/grub
grub rescue>set root=(hd0,x)
grub rescue>set prefix=(hd0,x)/grub
grub rescue>insmod normal
rescue>normal ——–>若出现启动菜单,按c进入命令行模式
rescue>linux /vmlinuz-xxx-xxx root=/dev/sday
rescue>initrd /initrd.img-xxx-xxx
rescue>boot
boot启动系统后,再在系统下打开终端,执行命令修复grub 重建配置文件grub.cfg
sudo update-grub
重建grub到第一硬盘mbr
sudo grub-install /dev/sda
转载
我遇到过类似的问题,最后是通过修改menu.lst解决的,就是在进入ubuntu后找文件 boot/grub/menu.lst 找到类似下面的语句,去掉前面的注释号#,再加到文件最后和ubuntu的选项放一起就行了。 # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 还可以再ubuntu下修复一下grub,终端下输入sudo grub grub> find boot/grub/stage1 grub> root (hd0,?) (问号根据find搜出来的数字填) grub> setup (hd0) 这样应该就行了,另外windows下确实是看不见ubuntu分区的。