尝试使用 Windows 10 双启动 Ubuntu 14.10,未检测到最后一个

use*_*299 11 grub2 dual-boot

我有一台笔记本电脑,我要安装 Ubuntu(我有经验,我已经成功安装了Arch Linux、Ubuntu、FedoraDebianXubuntuKubuntuManjaro Linux等),但是安装了Ubuntu 14.10(Utopic Unicorn ) 与Windows 10一起,Ubuntu 无法检测到 Windows。

它显示我没有操作系统,但我有 Windows 10。

顺便说一下,如果我手动安装,我有两个主分区。如果 Ubuntu 安装程序无法检测到 Windows 10,它会在GRUB上检测到吗?

小智 12

我无法进行启动修复,因此我手动添加了 Windows 10 启动选项。

第一步是编辑/etc/grub.d/40_custom(使用 SUDO)并将以下几行添加到文件底部:

menuentry 'Windows 10' {
set root='(hd0,msdos1)'
chainloader +1
}
Run Code Online (Sandbox Code Playgroud)

在这种情况下,我的引导加载程序在/dev/sda1 中,因此在 msdos 末尾是 1。在此运行sudo update-grub2 之后,您应该就可以开始了。

为我工作,从这里获得的建议:http : //technologytales.com/2010/11/21/manually-adding-an-entry-for-windows-7-to-an-ubuntu-grub2-menu/


小智 3

当您手动安装 Ubuntu 14.10 并将其添加到 GRUB 时,应该会检测到 Windows。如果最初未添加,请启动到 Ubuntu,安装启动修复并运行它。这应该将 Windows 10 添加到您的 GRUB 中。

来源:我运行过 Windows 10、Ubuntu 14.10、elementary OS、Fedora 四引导


小智 0

为什么不尝试从 Windows 10 ISO 映像运行启动修复?这样,Windows 将有一个MBR,并且它将显示其他操作系统。尝试一下。

我相信您已经安装了 Ubuntu,因此插入 Windows DVD 并选择 Repair -> cmd

现在输入,

Bootrec.exe /fixmbr
Run Code Online (Sandbox Code Playgroud)

还有其他命令。您可以尝试这些:

/FixBoot - writes a boot sector onto system partition to start Windows

/ScanOs - scans all disks for Windows installation and displays them.

/RebuildBCD - scans all disks for Windows installations and prompts you to pick the ones you want to add to the BCD.
Run Code Online (Sandbox Code Playgroud)