I have a file system on LVM inside LUKS on a 2nd SSD that I’d like to mount at boot time. The OS boots fine on the main (non-LUKS) SSD.

/etc/crypttab contains a line mapping a UUID to a name, with no keyfile.

/etc/fstab contains a line mapping /dev/LVMvg/volume to /home/special

But I’m not asked for the passphrase at boot.

I can do it manually once booted (cryptdisks_start asks for the passphrase, decrypts it, and then LVM picks up the volumes enabling me to mount /home/special.) But I’d like all this to happen early in the boot.

How can I make the early processes ask me for the crypt password?

Thanks!

  • eldavi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    I’m going to be doing this in the next few days and I’m SO GLAD you posted the how it was solved.

    For a second there I was afraid you were going to leave us hanging like they used to do on forums where they updated saying it was fixed but not how… Or worse yet w a dead link. Lol