ubuntu 引导丢失 开机进入grub rescue

开机显示:GRUB loading

error:unknow filesystem

grub rescue>

解决方法如下:

grub rescue> ls #查找grub的配置文件,因为分区表被破坏,用ls命令列出分区,和shell下的ls一样。

我的配置文件在(hd0,8)

grub rescue >set root=(hd0,8) #设置文件路径

grub rescue >set prefix=(hd0,8)/boot/grub #同上

grub rescue> insmod normal

回车以后便是另外一个界面

rescue grub >

继续;

rescue grub> normal

回车以后,久违的GRUB启动画面就回来了!

大功告成!

转自:

http://forum.ubuntu.org.cn/viewtopic.php?f=139&t=264606

猜你喜欢

转载自sjwpython.iteye.com/blog/1134095