ubuntu 提示no such device grub rescue> 的解决方法,简单

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } A:link { so-language: zxx } -->

一早起来打开电脑,无法启动

显示 no such device blablabla

grub rescue>

 

灰常的茫然,无奈,只得开启家中的那台老家伙。

一顿baidu google 后,大概清楚是因为昨天晚上的自动升级导致,grub加载软件出了些问题。

 

网上有两种解决方法:

本人尝试一种:成功了! 由于这个问题相当普遍,所以写个小报告,为后人指点迷津~~~

本人电脑装有xp ubuntu10.04

 

问题描述:开机初使化过程中出现的grub错误,原因可能多种,我这是由于升级导致的

原因: 主引导记录MBR消失了。

解决方法:

一种是在windows中修复MBRmbtfixExe

另一种是在ubuntu中修复MBR

普及下知识MBR

The MBR may be used for one or more of the following:

  • Holding a disk's primary partition table.

  • Bootstrapping operating systems, after the computer's BIOS passes execution to machine code instructions contained within the MBR.

  • Uniquely identifying individual disk media, with a 32-bit disk signature; even though it may never be used by the machine the disk is running on.

我是通过第二种方法:

自行制作一个livecd,一种可以自启动的linux 安装盘

我没法烧cd,所以通过U盘制作了一个启动盘:

网址: http://www.ubuntu.com/desktop/get-ubuntu/download

上面有很详细的步骤。

 

1.首先下载一个ubuntuiso镜像文件

2.下载universal usb installer

3.运行installer u盘制作成启动盘(移动硬盘不行)

4设置电脑的加载顺序,“先启动usb设备”。重新启动

5.直接启动ubuntu,打开terminal

输入 :sudo apt-get install lilo

sudo lilo -M /dev/sda mbr

(忽略所有警告,我们只要mbr)

6,重启,修改加载顺序,一切正常~~~          

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值