-
-
Save ii0/6ae8c3817be67bae0864f44cba29f624 to your computer and use it in GitHub Desktop.
Revisions
-
xiaoysh8 created this gist
Jun 21, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,56 @@ ubuntu 引导项修复 最近ubuntu+win10双系统重装了windows系统,ubuntu引导项丢失了,记录下修复方法: 1、制作一个同版本的ubuntu启动盘,选 try ubuntu; 2、打开终端,添加 boot-repair 源(需连网) sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update 3、安装boot-repair sudo apt-get install -y boot-repair 4、修复引导项 sudo boot-repair 中间弹出一些对话框: a、Is sdc(*) a removable disk? 其中*表示安装ubuntu的磁盘 我的不是移动硬盘,选 no b、Legacy Windows detected the boot of your pc is in EFI mode, you may want ... 我没管,继续修复 c、upload the report to a pastebin? 我选的 no 最后弹出一个对话框,提示: -------------------------------------------- Boot successfully repaired. ... -------------------------------------------- 说明修复成功。 5、重启,进入bios,选择安装ubuntu的磁盘(不是u盘)作为启动盘(本人windows和ubuntu在不同disk) 6、进入ubuntu后,更新一下grub,重启 sudo update-grub reboot 就恢复到含有ubuntu和windows启动选项的启动界面了。