早上重裝了XP,然后從Ubuntu的LIVE CD啟動,通過如下恢復(fù)GRUB后:
sudo grub
find /boot/grub/stage1 //我這里反饋回來的是(hd0,9)
root (hd0,9)
setup (hd0)
quit
然后重啟,從硬盤啟動,GRUB啟動后選擇UBUNTU 7.04,然后出現(xiàn)了ERROR 17的錯誤提示:說是不能掛載所選的分區(qū),按任意鍵回到GRUB主菜單,選擇recovery mode 也出現(xiàn)ERROR 17,memtest86+也是這樣,想想估計(jì)是重裝XP后分區(qū)表亂了,然后就按e修改,把root (hd0,9)改成root (hd0,10),還是出現(xiàn)ERROR 17錯誤,繼續(xù)改,改成root (hd0,8),系統(tǒng)成功啟動,進(jìn)入系統(tǒng)后,修改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)
保存退出,重啟,一個一個選擇看了一下,全部都能正常啟動了這次,沒出現(xiàn)ERROR 17的錯誤提示了。