Ubuntu - 缺少操作系统

Sha*_*kan 3 ubuntu

我有一个完全工作的Ubuntu系统,我想调整大小以便能够安装Windows.使用Live CD我设法调整主dev/sda1的大小并为windows创建空间.一旦我安装了Windows,我就看到系统没有让我在启动时选择操作系统.我重新打开Live CD,将启动标志从Window的分区移到dev/sda1,我在这里:缺少操作系统.

我相信这是一个关于grub的问题,但我没有丝毫做什么和去哪看.我很感激帮助!

Sav*_*ova 7

您可以查看此官方页面.文档很容易理解.

在任何情况下,如果链接死亡,我将描述恢复grub设置的过程.

 1. Login to Ubuntu using Live CD. 
 2. Open a new terminal (should be shift+alt+t).
 3. Add this repository: 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. Run it and click recommended settings. Wait a few seconds and when it tells you to do so reboot the computer. You should be done.
Run Code Online (Sandbox Code Playgroud)

如果这解决了您的问题,请告诉我们!