首先肯定是明确到底是UEFI+GPT还是Legacy(BIOS)+MBR。方法很简单,在window桌面上右键点击开始菜单,选择磁盘管理。在下面点左边的“磁盘0”右键属性,在“卷”里面有磁盘分区形式,如果是GPT那就肯定是UEFI启动了。
下面说说我在UEFI启动下装双系统遇到的一些问题:
我的电脑是先预装了Windows10的,第一次装Ubuntu时候没想太多,直接随便搜了一篇教程照着安装,结果教程是针对BIOS+MBR的,导致boot loader装错了位置,无法引导开机。后来看到了这篇文章,里面有这样一段:
Having a PC with UEFI firmware does not mean that you need to install Ubuntu in UEFI mode. What is important is below:
if the other systems (Windows Vista/7/8, GNU/Linux...) of your computer are installed in UEFI mode, then you must install Ubuntu in UEFI mode too.
if the other systems (Windows, GNU/Linux...) of your computer are installed in Legacy (not-UEFI) mode, then you must install Ubuntu in Legacy mode too. Eg if your computer is old (<2010), is 32bits, or was sold with a pre-installed Windows XP.
if Ubuntu is the only operating system on your computer, then it does not matter whether you install Ubuntu in UEFI mode or not.
也就是说,由于Win10是UEFI启动的,所以Ubuntu也必须安装在UEFI模式下。那么就需要做下面的操作,首先关闭Windows中的快速启动(控制面板 > 硬件与声音 > 电源选项 > 选择电源按钮的功能 > 更改当前不可用的设置,取消选中启用快速启动),然后关机断电再开机,进入BIOS(我的电脑是按F1),关闭secure boot并且把BIOS模式改为UEFI only。保存BIOS设置插入Ubuntu安装U盘,并重启电脑。由于U盘可能在UEFI模式下无法自动引导,所以需要手动选择U盘启动(我这里是按F12)。注意UEFI只支持64位的系统,所以制作U盘的时候要选择64位的Ubuntu。后面安装Ubuntu的步骤就照着教程来就行了,注意装boot loader(引导程序)的时候要选择系统自带的EFI分区(windows boot manager),而不是教程里面挂载/boot的分区(事实上/boot也没必要独立分区)。如果没有的话,就自己建一个分区,类型选择EFI不选挂载点,然后把boot loader装在里面。之后安装完成重启就行了,Ubuntu用的grub2引导程序会自动引导window的。
网友评论