Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Installation • Unable to Boot From Encrypted /boot on mdadm luks lvm

$
0
0
After doing a test Debian install in a vm from the standard installer with mdadm raid1 > luks > lvm, booting into it, and converting it have encrypted boot with the following commands

Code:

cp -axT /boot /boot2umount -R /bootrm -r /bootmv /boot2 /bootmount /boot/efi#remove /boot from fstabcryptsetup luksConvertKey --pbkdf pbkdf2 /dev/md0echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grubupdate-grubgrub-install /boot/efi
and rebooting, the system drops me to the grub shell. Those same commands worked on a test install on a single disk that didn't use mdraid. I'm also able to create a system with mdraid luks lvm on opensuse tumbleweed from the installer and it boots fine. Here's fstab, blkid, lvm lvdisplay, grub config on /boot/efi, and grub config on /boot/grub from each system.
mdraid luks lvm debian (not bootable) https://paste.debian.net/1324676/ luks lvm debian (bootable) https://paste.debian.net/1324677/ mdraid luks lvm opensuse (bootable) https://paste.debian.net/1324678/

Is this something wrong with what I did or a bug in grub or something else?

Thanks!

Statistics: Posted by vrtsun — 2024-07-29 00:56 — Replies 0 — Views 39



Viewing all articles
Browse latest Browse all 3260

Trending Articles