Ubuntu - 缺少操作系统

标签 ubuntu

<分区>


这个问题似乎不是关于 a specific programming problem, a software algorithm, or software tools primarily used by programmers 的.如果您认为这个问题是关于 another Stack Exchange site 的主题,您可以发表评论以说明问题可能在哪里得到解答。

关闭 9 年前

我有一个完全可用的 Ubuntu 系统,我想调整它的大小以便能够安装 Windows。使用 Live CD 我设法调整了主 dev/sda1 的大小并为窗口创建了空间。安装 Windows 后,我发现系统不允许我在启动时选择操作系统。我重新打开 Live CD,将启动标志从 Window 的分区移到 dev/sda1,然后我就出现了:缺少操作系统。

我相信这是一个关于 grub 的问题,但我不知道该做什么,也不知道该去哪里找。非常感谢您的帮助!

最佳答案

您可能需要查看 this official page .该文档非常容易理解。

无论如何,如果链接失效,我将描述恢复 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.

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

关于Ubuntu - 缺少操作系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21417036/

上一篇:apache - 如何将 spring 应用程序托管在 apache 服务器中?

下一篇:ubuntu - 从 BitBucket 下载 - 授权失败

相关文章:

symfony - 为什么我在 docker 容器中看不到我的文件?

linux - 无法在 Ubuntu 17.04 上正确安装 mongodb

linux - 为什么sublime建好后显示 "Unable to find target command: exec"?

c++ -/usr/bin/ld 找不到 -l<nameOfLibrary>

linux - 安全、私密、本地

linux - 如何限制 UpStart 可以同时启动或重生的实例数

c++ - 为什么这种使用堆栈作为 ADT 崩溃的中缀到后缀表示法的转换?

linux - 包名中的 "dev"后缀?

ubuntu - 如何防止菜单项响应鼠标悬停(而不使其不敏感)?

linux - Qt 版本歧义?