我在双启动中使用 LUKS 安装时做错了什么吗?
我有一个安装了 Win 8 的双启动系统,我正在重新安装 ubuntu 13.10 以启用全盘加密,几乎严格按照本指南进行操作:如何安装使用 LUKS 加密并双启动的 Ubuntu? The only difference is that I don't create a new boot partition (there is already an EFI boot partition), and I use two partitions for home and / (probably pointless as they're both in the same LUKS container)
Creating the LUKS container and partitions seems to go fine (no errors reported certainly). So I finish the graphical installer, but it fails with: The 'gub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.
I've tried this twice now, and got the same thing both times.
extra details
The machine is a Dell xps 15 (l521x) I'm using an ubuntu 13.10 live dvd. I previously used the same dvd to install next to the same windows install, just without the LUKS stuff, and it worked with no problems.
EFI - fast boot and secure boot are disabled.
I'm also a relative linux newb, and have never dealt with EFI or disk encryption before.
This question has a similar problem, but on 12.04, and without LUKS.
答案1
The EFI System Partition (ESP; what Ubuntu and you refer to as an "EFI boot partition") is not exactly the same as a Linux /boot
partition. The ESP holds EFI boot loaders and associated files. The /boot
directory (or partition, if it's a separate partition) holds the Linux kernel. I'm not a LUKS expert, but presumably the Linux kernel is kept outside of LUKS because that enables the boot loader to read it without having to understand LUKS encryption. In your configuration, /boot
is encrypted, so the boot loader would need to understand encryption in order to work. That could be why it's failed.
In other words, try again, but this time, do create a separate /boot
partition in addition to the ESP.