ubuntu16.04引导修复不能开机、grub丢失等——这是一剂良药

我的电脑是window+ubuntu系统。
1.制作一个U盘启动盘。下载对应的ubuntu系统,用UltraISO制作Ubuntu U盘启动。
2.打开电脑后选择u盘启动盘,然后选择try ubuntu without install。试用不安装。
3.进入ubuntu系统后,连接好网络,打开终端,输入下面命令,按照提示操作。

  • 3.1
$sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update  
  • 3.1
$sudo apt-get install -y boot-repair

其中它说我根目录的盘快满了。最好删掉(或者转移)一些没用的大文件,我就把根目录的家文件夹.cache转移到了U盘。

-3.2

$boot-repair

4.最后更新一下grub

$grub

5.重启。OK
转载自 https://blog.csdn.net/laocaibcc229/article/details/79274412

猜你喜欢

转载自blog.csdn.net/anny0001/article/details/87716592
今日推荐