[Bug 1565950] Re: Grub 2 fails to boot a kernel on a luks encrypted volume with Secure Boot enabled
semreh
1565950 at bugs.launchpad.net
Mon Apr 8 13:11:20 UTC 2019
This could affect people using 'non-standard' modules not included in
the standard distribution. For example, I use NILFS2 for all my
filesystems, and if the signed grubx64.efi does not include that, I
won't be able to boot. It might be a bit esoteric, but it points to a
general problem: either all possible modules are included in the signed
grub64x.efi, which some people might object to on size and/or attack
surface grounds, or some are omitted, causing problems for people who
wish to boot securely with modules not included in the standard
distribution.
I vote for including all modules, but I have no problems with the size
grub64x.efi becomes, and I'm less worried about the attack surface than
some others might be.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1565950
Title:
Grub 2 fails to boot a kernel on a luks encrypted volume with Secure
Boot enabled
Status in grub2 package in Ubuntu:
Fix Released
Bug description:
Booting in UEFI Secure Boot requires that all code loaded up to and
including the OS kernel be signed. This includes all grub modules.
This is accomplished by including selected modules in a single signed
binary. However, the modules required for grub to use an encrypted
volume have been omitted from the binary package and therefore Ubuntu
cannot boot from an encrypted volume with Secure Boot enabled. This
can be corrected as follows.
The debian/build-efi-images file needs to have lines 136-140 changed from:
GRUB_MODULES="$CD_MODULES
lvm
mdraid09
mdraid1x
"
to:
GRUB_MODULES="$CD_MODULES
cryptodisk
gcry_arcfour
gcry_blowfish
gcry_camellia
gcry_cast5
gcry_crc
gcry_des
gcry_dsa
gcry_idea
gcry_md4
gcry_md5
gcry_rfc2268
gcry_rijndael
gcry_rmd160
gcry_rsa
gcry_seed
gcry_serpent
gcry_sha1
gcry_sha256
gcry_sha512
gcry_tiger
gcry_twofish
gcry_whirlpool
luks
lvm
mdraid09
mdraid1x
"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1565950/+subscriptions
More information about the foundations-bugs
mailing list