Ubuntu 14.04 安装:grub-efi-amd64-signed 无法安装到 /target/

Gio*_*ani 5 grub2 dual-boot uefi 14.04

我正在尝试在 Dell Inspiron 7537 上安装 Ubuntu 14.04,使用 Windows 8.1 双引导,使用 UEFI 系统。创建新分区后,我可以毫无问题地安装 Ubuntu 14.04。就我再次启动 Windows 而言,它会定期启动。可能是某个程序(McAfee?)修改了我的 EFI 分区,从那时起我就再也无法启动 UEFI 的“ubuntu”条目了。GRUB 加载失败,PC 启动了 UEFI 的第二个选项,即 Windows 8.1。

当然,我已经尝试重新安装 Ubuntu,但是现在当 Ubiquity 尝试配置 Grub2 时出现此错误:

grub-efi-amd64-signed failed to install into /target/.
Without GRUB boot loader, the installed system will not boot
Run Code Online (Sandbox Code Playgroud)

然后 Ubiquity 崩溃了。此时,我尝试使用 Ubuntu LiveUSB 上的 efibootmgr 和 Windows 上的 EasyUEFI 清理 EFI 设置。这些工具正确删除了条目,但问题仍未解决。

同时启动修复似乎失败,因为当它要求我启动

sudo chroot "/mnt/boot-sav/sda7" dpkg --configure -a
Run Code Online (Sandbox Code Playgroud)

我犯了同样的错误:

Setting up grub-efi-amd64-signed (1.34+2.02~beta2-9) ...
Installing for x86_64-efi platform.
grub-install: error: cannot open `/boot/efi/EFI/ubuntu/shimx64.efi': Read-only file      system.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed
Run Code Online (Sandbox Code Playgroud)

我也尝试将笔记本电脑恢复到出厂设置,但无济于事。

这很奇怪,因为第一次一切都完美无缺。我的问题是什么?有没有办法从 EFI 分区中删除对 Ubuntu 的所有引用?

非常感谢。

小智 3

有没有办法从EFI分区中删除所有对Ubuntu的引用?

  • 通过 Live CD/USB 启动
  • 挂载EFI分区
  • 从分区中删除 Ubuntu 文件夹

...但是,我会先使用 Ubuntu Live 中的磁盘将分区备份到 ISO。因此,当您感觉精力充沛时,可以bcdedit在 Windows 中尝试。如果我不更改 bootmgr 的路径,我的 HP 笔记本电脑现在将不再启动到 Ubuntu,如第一个答案所示

只要您有 EFI 的备份,您就可以随时返回到之前的状态。