I'm still struggling to get the installation I want, I've tried following the answer (external) here:
https://superuser.com/questions/1805494 ... ple-drives , because this lvm solution seems to offer a way of unlocking both drives at once when I start using a yubikey.
However, I get stuck at this point:
Manual partitioning: Step "Logical Volume Manager - LVM"
confirm that you enter this phase
create one volume group named "vg" (stick to this name, anything else could lead to surprises later, because this default name was long time "assumed" by other linux subthings and this even might be (probably is) unneccessary nowadays, I still avoid surprises due to incomplete implementations)
add your two /dev/mapper/XXX_crypt devices as so called "physical volumes". Here the magic happens and you merge the two drives into one single thing, a logical volume group, one new drive "vg". (In case you want to initially install with only a single system drive, just add this one crypt device instead of two. And in the coming step create only a small lv_home logical volume, that will still fit into the vg)
where it refuses to create a volume group with both physical luks drives, or extend by adding one to the other.
My filesystems look like this:
Code:
sda └─sda1 crypto_LUKS 2 229c5ae9-e304-45e6-976d-06ed71c1f084 sdb ├─sdb1 vfat FAT32 7C60-7364 ├─sdb2 ext2 1.0 6389c326-8214-40be-b78f-df3dc2b71b76 ├─sdb3 ext2 1.0 61eec6de-19a2-4fff-9b04-037f8da69796 └─sdb4 crypto_LUKS 2 37655652-11b2-4839-b8f9-64ac98d1f3cb
I've also tried the Calamares installer, but that doesn't seem to offer a way of completing the luks containers before lvming them (I've read things about breaking out, configuring, then returning).
This is just SO difficult and should be easy.
Cheers for any replies.
Statistics: Posted by dobbiescope — 2025-04-06 16:19