grub rescue
来源:互联网 发布:sql基本语句大全 编辑:程序博客网 时间:2024/06/05 14:20
装托系统的时候,可能会破坏系统的开机启动项,如在已有win8后又装来一个ubuntu,然后又装来一个ubuntu,终于出问题了,当务之急是怎么先进系统。
1.
开机错误如图:
error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>
2.
先输入ls回车,查看显示的内容。如:
(hd0) (hd0,msdos14) (hd0,msdos13) (hd0,msdos12)....
3.
然后找出哪个盘安装了系统,
ls (hd0,msdos1)/boot/grub
ls (hd0,msdos2)//boot/grub
...
尝试所有的,直到返回内容不再是error: unknown filesystem.为止。
4.
如输入ls (hd0,msdos13)/boot/grub后出现了类似如下内容。即为找到了系统所在分区。
5.
然后依次输入如下内容:
set root=(hd0,msdos13)/boot/grub
set prefix=(hd0,msdos13)/boot/grub
insmod normal
normal
6.
normal执行之后即进入选择启动项的界面。可以看到除了WIN8之外还有Ubuntu Kylin和Ubuntu 13.04总共3个系统。选择启动的系统进入即可。
7.
不过不要高兴得过早,如果这时重启,问题依旧存在,我们需要在进入Linux中,对grub进行修复。
进入linux后,在命令行执行:
sudo update-grub sudo grub-install /dev/sda (sda 是你的硬盘号码,千万不要指定分区号码,例如sda1,sda5等都不对)。
8。
重启测试下,注:sudo gedit /boot/grub/grub.cfg可以修改grub 的引导菜单。
- grub rescue
- grub rescue
- grub rescue:
- grub rescue
- grub rescue
- Grub rescue
- Grub Rescue
- grub rescue
- Grub Rescue
- grub rescue
- grub rescue
- grub rescue~
- grub rescue
- grub rescue
- grub rescue
- grub rescue修复
- grub rescue 的修复
- Grub rescue 修复方法
- Objective-C之run loop详解
- oracle相关的linux系统内核参数详解(不断补充中)
- Objective-C学习笔记-之操作文件
- 图的建立(邻接矩阵)+深度优先遍历+广度优先遍历+Prim算法构造最小生成树(Java语言描述)
- 图像物体分类和物体检测算法的概括
- grub rescue
- NSRunloop的解析及autorelease的释放时机
- JAVA程序设计(14.2)----- 图书馆管理系统 初步设计 界面篇
- XMPP服务器环境的搭建
- boost库中bind()和function()的使用方法
- Oracle数据库mybatis 插入空值时报错(with JdbcType OTHER)
- tomcat配置HTTPS
- php用户登录以及后台处理
- HTML 入门,30分钟入门教程.