可以使用Windows引导程序启动Ubuntu吗?

正如许多人所指出的,Windows 8的UEFI要求可能不会妨碍安装Linux(或其他操作系统),因为替代的引导加载程序也需要以某种方式进行签名。所有系统都将允许您禁用签名要求,但是禁用该功能可能会隐藏,或者您可能不愿意放弃安全引导加载程序的好处。
首先,有必要替换引导加载程序吗?为了保持软件的稳定性,我如何使用Windows 7自己的引导加载程序安装Ubuntu 11.04?
5个回答

假设Windows已经安装好了,在另一个分区上安装Ubuntu。确保将Grub2安装在Ubuntu分区上,不要安装在MBR上,因为这样会覆盖Windows的引导程序。
进入Windows并安装EasyBCD
添加条目并选择Grub2即可。

enter image description here

然后写回修改后的Windows引导程序,即。

enter image description here

重新启动 - 现在你有两个选项:

enter image description here

进入Ubuntu并更改Grub超时值,即:
gksudo gedit /etc/default/grub

将"GRUB_TIMEOUT=10"改为"GRUB_TIMEOUT=0"并保存。

最后:

sudo update-grub

source


在更新的EasyBCD上,你不需要执行写入MBR的步骤,因为它会恢复默认的Windows引导。你只需要添加Grub 2菜单项,并保存即可。 - Toilal
5EasyBCD,就我所见,不支持UEFI引导程序。它只能与MBR兼容。 - MirroredFate
如果Ubuntu和Windows安装在不同的硬盘上而不是同一硬盘的不同分区,这个方法是否适用?此外,必须使用Grub2还是Grub也可以? - Dora
确保将Grub2安装在Ubuntu分区上 - 不要将其安装在MBR上。这是否意味着(在Ubuntu安装程序的“其他选项”→“引导加载程序安装设备”中使用/dev/sda而不是/dev/sda1(Windows),或者我真的应该选择Linux(由于加密)分区(在我的情况下为/dev/sda4)? - Frank N

我经历过这个问题,这是我解决的方法。
你需要恢复MBR,这样它就能再次引导进入Windows而不是Linux,然后再添加Linux。
1. 从Windows安装光盘启动; 2. 选择修复/启动修复;Windows将会恢复MBR; 3. 完成后,重新启动进入Windows; 4. 打开EasyBCD,添加Linux; 5. 重新启动后,你将看到熟悉的黑屏界面,上面有Windows的启动器和两个选项:Windows和Linux; 6. 好了,完成了。

4我在这个回答中看到了"MBR",但问题的标题却说是"UEFI"。而且通常来说,UEFI 意味着用于引导的 EFI 分区,而不是 MBR。对吗? - Frank N

我发现这个非常有用,但找到了一个更简单的方法来修复它。 当您可以访问您的Windows安装并且已经安装了EasyBCD时,您可以直接从该工具中修复MBR。(使用EasyBCD 2.2.0.182完成)
1. 打开EasyBCD并点击“BCD部署”。 2. 在“MBR配置选项”部分,确保选择了“将Windows Vista/7引导加载程序安装到MBR”,然后点击“写入MBR”按钮。 3. 重新启动,享受Windows引导加载程序的魔力。
希望对某人有所帮助。

你可以进入启动菜单中的shell,并输入以下命令:
chroot / 
mount /dev/sda /grub/boot
mount /dev/sda2 /win
install grub boot loader again on sda

这可能会起作用。

1chroot / is a command that allows you to change the root directory of your current session to a different location. It is commonly used in system administration tasks, such as repairing a broken system or performing maintenance operations.As for the command install grub boot loader again on sda, it seems like a request to reinstall the GRUB boot loader on the device identified as "sda". The GRUB boot loader is responsible for loading the operating system on your computer. Reinstalling it can be necessary in certain situations, such as when it becomes corrupted or when you want to modify the boot configuration.Please note that executing these commands requires proper knowledge and understanding of the system. It is recommended to proceed with caution and consult relevant documentation or seek assistance from experienced professionals if needed. - wjandrea


1为什么你需要重新安装 Windows 才能做这个?你不可以只是启动一个 Live USB 然后使用 Fdisk 或类似的工具吗?这看起来完全没有必要。 - jitter
也许我们可以简单地使用一个活动的USB,我不太确定。根据我所阅读的,你需要使用其中一种商业工具或重新安装。 - wordsforthewise