ubuntu is 22.04. boot is encrypted with luks1. encrypted boot partition is luk1 created with cryptsetup luksFormat and is detected with ubuntu disks utility and cryptsetup and can be mapped and mounted with cryptosetup. However, grub fails to detect it and grub gets to its prompt on boot. After that, commands like search.fs_uuid and cryptomount fails to detect the encrypted boot partition.There are two uuids. One is for disk partition and other is for filesystem on the disk for encrypted disk. I tried cryptomount with both uuids and it gives error that no such cryptodisk found
. search.fs_uuid also gives error no such device
with partition uuuid. grub is grub2. After boot partition created, grub-install on the partition executed. grub.cfg file was manually edited though command like cryptomount does not need all these as long as luks and cryptodisk mods are in grub when at grub prompt.
↧
grub does not detect encrypted boot partition
↧