My system setup is as following:
- One single SSD with LUKS and LVM (and of course an unencrypted
boot
partition). The debian system is installed there. - Two HDDs assembled as RAID0 with LUKS and LVM for some custom data
To unlock to LUKS-devices at boot time from remote, I tried to use dropbear-initramfs.
That works fine, to unlock the first LUKS device (on the SSD, with the debian system installed on):
- I log in with ssh to dropbear/busybox
- I use
cryptroot-unlock
, insert the key, and unlock it
But to unlock the second LUKS device (on the RAID0), I still needs some console.
Is there any way to unlock both LUKS devices together (or after another) using dropbear-initramfs / busybox? TIA!