系统只显示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的引导,谢谢!!!!
求救:grub挂了。。。。
-
- 帖子: 129
- 注册时间: 2007-05-28 5:27
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 389
- 注册时间: 2007-12-31 11:40
Re: 求救:grub挂了。。。。
"发现系统/boot分区是/.dev/sda1"
root (hd0,0)
setup (hd0)
root (hd0,0)
setup (hd0)
-
- 帖子: 129
- 注册时间: 2007-05-28 5:27
Re: 求救:grub挂了。。。。
谢谢楼上。。。
确实是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来重装。
确实是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挂了。。。。
进live cd,
看看能否把以前的/boot/grub/menu.lst 找到贴上来看看
看看能否把以前的/boot/grub/menu.lst 找到贴上来看看
-
- 帖子: 229
- 注册时间: 2007-07-14 22:39
Re: 求救:grub挂了。。。。
系统可以显示grub,貌似grub还在mbr里面啊。
看看是不是menu.lst出问题了。
看看是不是menu.lst出问题了。
- hyxuzhimin
- 帖子: 249
- 注册时间: 2008-05-09 14:14
Re: 求救:grub挂了。。。。
不懂的路过,关注进展。
-
- 帖子: 389
- 注册时间: 2007-12-31 11:40
Re: 求救:grub挂了。。。。
root (hd1,0)
setup (hd0)
或bios里把(hd0)可启动关掉,系统就从(hd1)引导,如报错再打开(hd0)可启动,系统还是从(hd1)引导。
setup (hd0)
或bios里把(hd0)可启动关掉,系统就从(hd1)引导,如报错再打开(hd0)可启动,系统还是从(hd1)引导。