Grub error 17,并且无法修复。。。?怎么办,代码如下
我开机后就显示grub error 17 然后就死在那了。。。
然后我在网上查了一下,按他们的操作还是出错
用 Ubuntu 的 liveCD 进去后如下。。。
/*
grub> find /boot/grub/stage1
(hd0,5)
grub> root (hd0,5)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed
Error 12: Invalid device requested
*/
然后 我又查了 Error 12的修正方法 如下
/*
grub> root (hd0,5)
grub> setup (hd0)(hd0,5)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed
Error 12: Invalid device requested
*/
还是不行。。。
怎么办
我系统里 menu.lst 里为什么都是从 (hd0,7) 进入的呢?明明查出来是 (hd0,5)。。。。。。。。//这个问题很痛苦。。。
我试着把 (hd0,7) 改为 (hd0,5) 还是不行。。。
/boot/grub/menu.lst
/*
default 0
timeout 10
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=d2700d3b-b181-4cf3-bd77-5cac02c06ea0 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=d2700d3b-b181-4cf3-bd77-5cac02c06ea0 ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=d2700d3b-b181-4cf3-bd77-5cac02c06ea0 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=d2700d3b-b181-4cf3-bd77-5cac02c06ea0 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
*/
有知道原因的么。。。