我最初在 SSD 上的 PC 上安装了 Windows 10。然后我决定在 HDD 上双启动 Ubuntu。grub 安装在硬盘上,因此要看到 GRUB 菜单,我必须在引导优先级中选择 HDD(在 BIOS 中命名为 Ubuntu,SSD 命名为 Windows Boot Manager)。
现在我在 SSD 上安装了 Ubuntu 并在安装时格式化了 SSD。我期待摆脱Windows。但是在 BIOS 中,SSD 仍然被命名为 Windows Boot Manager 而不是 Ubuntu,并且当 SSD 在启动优先级中被选中时,它会打开恢复模式。仅当我将 HDD 置于引导优先级的首位时,我才会看到 GRUB。
那么,如何从 SSD 中删除 Windows 启动管理器,并使其成为 Ubuntu。这样当我在启动优先级中首先选择 SSD 时,它会直接启动到 Ubuntu 中,而无需打开 grub。
启动优先级:
Windows 错误恢复模式:
Grub 启动菜单:
的输出sudo os-prober
:
/dev/sdb2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sdb3:Ubuntu 20.04 LTS (20.04):Ubuntu:linux
/dev/sdb4:Pop!_OS 20.04 LTS (20.04):Pop:linux
这里sdb3
磁盘上的 Ubuntu 是之前安装的 Ubuntu,没有显示较新的 SSD 上的 Ubuntu。
我删除了/boot/efi/EFI/Microsoft/
,现在Windows Boot Manager
已删除,但 SSD 无法直接启动。
新的引导优先级选项:
我想摆脱 Windows 启动管理器,我通过删除/boot/efi/EFI/Microsoft/
文件夹来实现。
When I was using Windows, I could select SSD or HDD the first option in boot priority. When I selected SSD which had Windows 10 installed on it, I would boot directly to the Windows, without any GRUB prompt. But when I selected the HDD, I would get the GRUB prompt with windows, Ubuntu and Pop!_OS as the options.
Now I want to achieve similar results, just that instead of Windows, I want to use Ubuntu on the SSD. So that when SSD is selected first in the boot priority, it would boot into Ubuntu on the SSD without any GRUB prompt, but when I select the HDD first in the boot priority, I would get the GRUB prompt, to select the Ubuntu (from SSD), Ubuntu (from HDD) or Pop!_OS.
现在的问题是我在 BIOS 启动优先级中看不到 SSD,如第四张屏幕照片所示。早些时候,我可以像在第一张屏幕照片中一样选择 SSD 或 HDD。Windows 启动管理器是 SSD,另一个操作系统是 HDD。
正如 Parsa Mousavi 在评论中指出的那样。
“你的 SSD 中有 /boot/efi/EFI/Microsoft/ 文件夹吗?如果有,你可以删除它。我不是 100% 确定,但我认为这就足够了”
是的,这确实有效。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句