shu*_*ndu 4 grub2 dual-boot windows-8
还可以帮助我解释为什么 Windows UEFI 加载程序首先将我带到 Windows,但现在重定向回此页面:
通常什么也没有。
bkpbootx64.efi 是 Boot-Repair 定期创建的备份。对于 Windows,bootx64.efi 实际上只是 Windows bootmgfw.efi 的副本。bootx64.efi 是 UEFI 中的后备或硬盘启动项。
但是 Boot-Repair 及其高级选项中的“使用标准 EFI 文件”会创建 bkpbootx64.efi 并使 bootx64.efi 成为 shimx64.efi 的副本,因此 UEFI 中的回退或硬盘驱动器启动条目实际上会启动 grub 而不是 Windows。
区分哪个是哪个的唯一方法是检查文件大小或实际启动的内容。如果引导修复为所有 HP 条目创建了 25_custom,您可能可以删除其中的大部分或全部。
编辑由引导修复创建的 25_custom 条目:
sudo cp -a /etc/grub.d/25_custom /etc/grub.d/bkp25_custom
Run Code Online (Sandbox Code Playgroud)
关闭执行位,否则它也会运行备份
sudo chmod a-x /etc/grub.d/bkp25_custom
sudo nano /etc/grub.d/25_custom
Run Code Online (Sandbox Code Playgroud)
然后做:
sudo update-grub
Run Code Online (Sandbox Code Playgroud)