求救:grub挂了。。。。

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
mrguo
帖子: 129
注册时间: 2007-05-28 5:27

求救:grub挂了。。。。

#1

帖子 mrguo » 2008-11-27 9:46

系统只显示GRUB然后就没有反映了,键盘除了能重启也不起其他作用了。。。。

用了Live盘启动,发现系统/boot分区是/.dev/sda1,并且能在LIVE环境中加载;

因此,打开终端输入了:
sudo -i
grub
root (hd1,0)
setup (hd1)
quit
期间,执行的命令都有正常的输出;

但是,重启后仍然不能引导;

又用了Live盘启动,打算重装GRUB,在终端执行了:
sudo -i
grub-install /dev/sda
系统报错:/dev/sda does not have any corresponding BIOS drive.
执行:
grub-install --recheck /dev/sda
系统报错:Could not find device for /boot: Not a directory.

在我的系统上,/boot是单独的一个分区,

那么,现在应该怎么做才能修正ubuntu的引导,谢谢!!!!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 求救:grub挂了。。。。

#2

帖子 eexpress » 2008-11-27 9:59

root setup都验证了?是hd1?
想不出还会不对。
最多再fdisk检查下信息,比如磁盘标识。
● 鸣学
1234qw
帖子: 389
注册时间: 2007-12-31 11:40

Re: 求救:grub挂了。。。。

#3

帖子 1234qw » 2008-11-27 10:31

"发现系统/boot分区是/.dev/sda1"
root (hd0,0)
setup (hd0)
mrguo
帖子: 129
注册时间: 2007-05-28 5:27

Re: 求救:grub挂了。。。。

#4

帖子 mrguo » 2008-11-27 13:42

谢谢楼上。。。

确实是hd1, 因为hd0是旧的ide盘,hd1是新 的SATA盘。
运行 setup(hd0,0) 时系统报:
check if "/boot/grub/stage1" exists ...........no
check if "/grub/stage1" exists .....no
...

估计是grub程序本身有问题了,但是ubuntu就是不让我执行grub-install来重装。
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

Re: 求救:grub挂了。。。。

#5

帖子 TeliuTe » 2008-11-27 22:53

进live cd,
看看能否把以前的/boot/grub/menu.lst 找到贴上来看看
grdxyxy
帖子: 229
注册时间: 2007-07-14 22:39

Re: 求救:grub挂了。。。。

#6

帖子 grdxyxy » 2008-11-28 15:33

系统可以显示grub,貌似grub还在mbr里面啊。
看看是不是menu.lst出问题了。
头像
hyxuzhimin
帖子: 249
注册时间: 2008-05-09 14:14

Re: 求救:grub挂了。。。。

#7

帖子 hyxuzhimin » 2008-11-28 16:13

不懂的路过,关注进展。
1234qw
帖子: 389
注册时间: 2007-12-31 11:40

Re: 求救:grub挂了。。。。

#8

帖子 1234qw » 2008-11-28 20:17

root (hd1,0)
setup (hd0)
或bios里把(hd0)可启动关掉,系统就从(hd1)引导,如报错再打开(hd0)可启动,系统还是从(hd1)引导。
回复