onndsd wrote:
I couldn't find a way to specify two or more encrypted root partitions in "/etc/default/grub" with "crypt_root=" in order to get a password prompt for each of them upon boot or unlock them with a keyfile.
I know this is an old post but I know usually with grub I just specified one of the drives and then it figured out the rest. This was unencrypted. When I moved to LUKS in encryption I actually used a separate boot along with a separate / partition which was on ext4 (new hdd) so I can't say I have experience exactly with that however (with systemd) when I booted it would prompt me for the passwords to the other drives when I tried to mount the separate btrfs volume. Of course this happened beyond GRUB, probably because of the contents of my /etc/fstab and perhaps /etc/crypttab
I think anyone trying this is probably going to have to bite the bullet and do a separate /boot partition although you could probably encrypt that with LUKS as I believe grub2 can handle that -- only on one disk though and not over multiple volumes with LUKS.
Alternately before giving up you might try specifying one of the drives in the LUKS btrfs array to see if it can automatically figure it out based on that. I take it something like crypt_root=/dev/sda,/dev/sdb,dev/sdc won't work? You might try asking one of the Grub2 developers or perhaps doing a feature request if this is really unimplemented.
Hopefully this helps someone searching.