Ubuntu GRUB出现ERROR 17错误的对策

由于重新安装了Windows XP
然后从Ubuntu的LIVE CD启动,通过如下恢复GRUB后:
sudo grub
find /boot/grub/stage1 //我这里反馈回来的是(hd0,9)
root (hd0,9)
setup (hd0)
quit
然后重启,从硬盘启动,GRUB启动后选择Ubuntu 7.04
然后出现了ERROR 17的错误提示:说是不能挂载所选的分区
按任意键回到GRUB主菜单,选择recovery mode 也出现ERROR 17 ,
memtest86+也是这样,
想想估计是重装XP后分区表乱了,然后就按e修改,把root (hd0,9)改成root (hd0,10),还是出现ERROR 17错误,
继续改,改成root (hd0,8),系统成功启动,进入系统后,修改menu.lst:
sudo gedit /boot/grub/menu.lst

把:
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, memtest86+
root (hd0,9)
kernel /boot/memtest86+.bin
quiet

里面的root (hd0,9)全部改为:root (hd0,8)

保存退出,重启,一个一个选择看了一下,全部都能正常启动了这次,没出现ERROR 17的错误提示了。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/4b7e30ad1d5f480b56ab92be44e61efa.html