“ error: file not found.” followed by “grub rescue> _ ” 解决

本文提供了一种解决Ubuntu系统中GRUB救援模式问题的方法。通过使用Boot Repair工具,可以从Live CD或Live USB启动并连接到互联网,然后在终端中运行一系列命令来安装并运行Boot Repair,从而修复启动加载器。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


安装ubuntu系统,或者在使用过程中重启,可能出现grub rescue issue,通过百度找到下面这个链接:

http://blog.163.com/l1_jun/blog/static/143863882013101234922566/

实验发现没效果,但作为普及相关知识,可以大概了解一下。


百度在这方面一直不给力,而google最近又被和谐的厉害,最后借助 ask.com 找到下面办法:


Use Boot Repair to fix your bootloader.

  1. Boot Ubuntu from a LiveCD or Live USB  (可以通过 ubuntu usb 启动盘)
  2. Connect to the internet
  3. Open a terminal, and add the Boot Repair PPA

    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

  4. Install Boot Repair

    sudo apt-get install -y boot-repair && (boot-repair &)

  5. Launch and use, see https://help.ubuntu.com/community/Boot-Repair#Using_Boot-Repair for more details


  完整命令如下:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sed 's/trusty/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)

Advanced options

Warning: the default settings are the ones used by the "Recommended Repair". Changing them may worsen your problem. Don't modify them before creating a BootInfo URL, and asking advice on this thread.

http://pix.toile-libre.org/upload/img/1335263156.png http://pix.toile-libre.org/upload/img/1335263804.png http://pix.toile-libre.org/upload/img/1357337899.png http://pix.toile-libre.org/upload/img/1335263417.png http://pix.toile-libre.org/upload/img/1357348203.png


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值