[Bug 1813126] Re: [19.04] GRUB_ENABLE_CRYPTODISK=y ignored if /boot/ in LUKSv2 format
Russ Long
1813126 at bugs.launchpad.net
Fri Jun 7 17:18:14 UTC 2019
I can confirm similar behavior, but slightly different setup.
I installed 19.04 from scratch, and used the disk encryption with lvm
option during setup.
Everything was working fine until upgrading to the latest kernel,
5.0.0-16-generic.
The previous kernel I had installed, 5.0.0-15-generic, still works fine.
I see no differences in the grub config for the 2 kernels:
menuentry 'Ubuntu, with Linux 5.0.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-16-generic-advanced-69cc3212-6aef-415d-a65d-30362fc514f6' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 070883ed-c707-4199-b2b2-84145dc3355d
else
search --no-floppy --fs-uuid --set=root 070883ed-c707-4199-b2b2-84145dc3355d
fi
echo 'Loading Linux 5.0.0-16-generic ...'
linux /vmlinuz-5.0.0-16-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.0.0-16-generic
}
menuentry 'Ubuntu, with Linux 5.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-15-generic-advanced-69cc3212-6aef-415d-a65d-30362fc514f6' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 070883ed-c707-4199-b2b2-84145dc3355d
else
search --no-floppy --fs-uuid --set=root 070883ed-c707-4199-b2b2-84145dc3355d
fi
echo 'Loading Linux 5.0.0-15-generic ...'
linux /vmlinuz-5.0.0-15-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.0.0-15-generic
}
--
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/1813126
Title:
[19.04] GRUB_ENABLE_CRYPTODISK=y ignored if /boot/ in LUKSv2 format
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
On my freshly-installed and up-to-date 18.10 with full-disk encryption, I decided to upgrade to 19.04 (dev) using _update-manager -d_.
Everything seemed fine, until I rebooted and the Grub configuration apparently had been overwritten, and it does not offer to enter the master password, so cannot find the root VG.
This is all happening on my Lenovo T480 PC, with only Ubuntu (no dual-
boot).
I tried boot-repair, applying any suggestion it threw at me, but it
could not fix the issue.
I did try to add GRUB_ENABLE_CRYPTODISK=y in /etc/default/grub and
successfully run update-grub in a chroot, but this did not fix the
issue.
Feel free to ask for more details, but diagnostic is limited, as the
system is not booting, from the very early stages.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1813126/+subscriptions
More information about the foundations-bugs
mailing list