I've confirmed this with a new 19.04 install, and it's not just the d-r-u process.
In a manually configured system with:
sda3 -> LUKS_BOOT > /boot/ sda4 -> sda4_crypt -> LVM -> /dev/mapper/ubuntu-rootfs -> /
# grep -rn GRUB_ENABLE_CRYPTODISK /etc/default/grub /etc/grub.d/ /usr/lib/grub/ /usr/sbin/grub* /usr/share/grub/ /etc/default/grub:33:GRUB_ENABLE_CRYPTODISK=y Binary file /usr/sbin/grub-install matches /usr/sbin/grub-mkconfig:245: GRUB_ENABLE_CRYPTODISK \ /usr/share/grub/grub-mkconfig_lib:77: if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then /usr/share/grub/grub-mkconfig_lib:162: if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
# grub-install /dev/sda # update-grub
both fail to add the luks and crypto modules. Core image doesn't get them:
grub-install: info: grub-mkimage --directory '/usr/lib/grub/i386-pc' --prefix '/grub' --output '/boot/grub/i386-pc/core.img' --format 'i386-pc' --compression 'auto' --config '/boot/grub/i386-pc/load.cfg' 'ext2' 'biosdisk' 'search_fs_uuid'
and nor does /boot/grub/grub.cfg:
... menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a0f21372-a236-4e33-9bfa-9921ca89d5b7' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root 997c6523-62d6-4274-bf2b-3fa0bef7f181 else search --no-floppy --fs-uuid --set=root 997c6523-62d6-4274-bf2b-3fa0bef7f181 fi linux /vmlinuz-5.0.0-16-generic root=/dev/mapper/ubuntu-rootfs ro quiet splash $vt_handoff initrd /initrd.img-5.0.0-16-generic } ...
I've confirmed this with a new 19.04 install, and it's not just the d-r-u process.
In a manually configured system with:
sda3 -> LUKS_BOOT > /boot/ ubuntu- rootfs -> /
sda4 -> sda4_crypt -> LVM -> /dev/mapper/
# grep -rn GRUB_ENABLE_ CRYPTODISK /etc/default/grub /etc/grub.d/ /usr/lib/grub/ /usr/sbin/grub* /usr/share/grub/ grub:33: GRUB_ENABLE_ CRYPTODISK= y grub-install matches grub-mkconfig: 245: GRUB_ENABLE_ CRYPTODISK \ grub/grub- mkconfig_ lib:77: if [ x$GRUB_ ENABLE_ CRYPTODISK = xy ]; then grub/grub- mkconfig_ lib:162: if [ x$GRUB_ ENABLE_ CRYPTODISK = xy ]; then
/etc/default/
Binary file /usr/sbin/
/usr/sbin/
/usr/share/
/usr/share/
# grub-install /dev/sda
# update-grub
both fail to add the luks and crypto modules. Core image doesn't get them:
grub-install: info: grub-mkimage --directory '/usr/lib/ grub/i386- pc' --prefix '/grub' --output '/boot/ grub/i386- pc/core. img' --format 'i386-pc' --compression 'auto' --config '/boot/ grub/i386- pc/load. cfg' 'ext2' 'biosdisk' 'search_fs_uuid'
and nor does /boot/grub/ grub.cfg:
... id_option 'gnulinux- simple- a0f21372- a236-4e33- 9bfa-9921ca89d5 b7' { platform_ search_ hint = xy ]; then 62d6-4274- bf2b-3fa0bef7f1 81 62d6-4274- bf2b-3fa0bef7f1 81 5.0.0-16- generic root=/dev/ mapper/ ubuntu- rootfs ro quiet splash $vt_handoff img-5.0. 0-16-generic
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod ext2
if [ x$feature_
search --no-floppy --fs-uuid --set=root 997c6523-
else
search --no-floppy --fs-uuid --set=root 997c6523-
fi
linux /vmlinuz-
initrd /initrd.
}
...