Hi,
in a working Manjaro Linux installation with a LUKS encrypted system partition using LVM (root, swap and home) I have extended the home partition by adding another hdd, encrypted it with LUKS and expanded the logical volume so it uses the new disk.
Code:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
├─sda1 8:1 0 243M 0 part /boot
└─sda2 8:2 0 9,8G 0 part
└─lukssda2 254:0 0 9,8G 0 crypt
├─cvg-swap 254:1 0 512M 0 lvm [SWAP]
├─cvg-root 254:2 0 8G 0 lvm /
└─cvg-home 254:3 0 10G 0 lvm /home
sdb 8:16 0 10G 0 disk
└─sdb1 8:17 0 10G 0 part
└─lukssdb1 254:4 0 10G 0 crypt
└─cvg-home 254:3 0 10G 0 lvm /home
sr0 11:0 1 624M 0 rom
Now my problem is that GRUB2 doesn't understand this line in the
/etc/default/grub:
Code:
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:cvg,/dev/sdb1:cvg root=/dev/cvg/root resume=/dev/cvg/swap"
When I try to boot the system, I get the following screen:
I spent lots of time with searching on the internet, not beeing able to find a solution.
Using /etc/crypttab has no effect in this case I think, because the LVM needs both disks before connecting to the root filesystem.
Does anybody know how to handle multiple cryptdevices in GRUB2 to get a correct prompt for entering the passwords?