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

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

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

如果我手动安装,我有两个主要分区。 如果Ubuntu安装程序无法检测到Windows 10,是否会在GRUB中检测到它?

我无法让启动修复工作,所以我手动添加了Windows 10启动选项。

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

menuentry 'Windows 10' { set root='(hd0,msdos1)' chainloader +1 } 

在这种情况下,我的引导程序在/ 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/

手动安装Ubuntu 14.10并添加到GRUB时应检测Windows。 如果最初没有添加,请启动到Ubuntu,安装Boot Repair并运行它。 这应该将Windows 10添加到您的GRUB。

来源:我运行了Windows 10,Ubuntu 14.10,基本操作系统,Fedora四核启动

安装Ubuntu 15.04后,我遇到了与Windows 7相同的问题。

解决方案是使用Grub 2 ntloader模块而不是chainloader。

这是我在/etc/grub.d/中的42_custom

menuentry "Win 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs insmod ntldr set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 9804BD3004BD126C ntldr ($root)/bootmgr }

您可以将文本更改为Windows 10,它只是文本。

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

我相信你已经安装了Ubuntu,所以插入Windows DVD并选择修复 – > cmd

现在进入,

 Bootrec.exe /fixmbr 

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

 /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. 

启动Ubuntu并挂载Windows分区(只需在Nautilus上打开磁盘)

在命令行上运行以下命令: Ctrl Alt t

 sudo os-prober 

如果找到了Windows安装,则可以运行:

 sudo update-grub 

请注意,第2步只是为了您的方便。 您可以挂载Windows 7分区,然后运行update-grub。

我有类似的东西

 menuentry 'Windows 10' { search --set=root --file /EFI/Microsoft/Boot/bootmgfw.efi chainloader /EFI/Microsoft/Boot/bootmgfw.efi }