Ubuntu Version: 24.10
Desktop Environment (if applicable): GNOME (Ubuntu default)
Problem Description:
I have a notebook running Ubuntu 24.10 and have set-up an ecnrypted LUKS partitition with LVM on top using the graphical installer. The LUKS Volume gets unlocked at boot time with a password using the kernel keyring in the background.
Now I’ve aquired a second nvme ssd that I want to add to the laptop and I want to create and additional LUKS Volume on it that should also be unlocked at boot time using the same method - kernel keyring.
To be quite frank: I’ve got linux (debian) experience since 1996, Ubuntu experience since 2004, I’m pretty confident with LUKS itself - but my “conventional” methods using scripts to implement the second LUKS Volume with a derived key from the first one simply dont work here and currently I don’t find ANY helpfull wiki articles as to HOW to deal with LUKS volumes using the kernel keyring.
Relevant System Information:
Lenovo Thinkpad E16 Gen2 (Intel) with 64 GB RAM
What I’ve Tried:
I’m quite frustrated because “googling” information for m my projects is something that I regularly do, I’m an 42 years old ADHD driven autodidact with high reading speed and I’ve always succeeded gathering all information & knowledge by myself.
But THIS subject drives me crazy as there is virtually NO documentation available how the LUKS setup is done in current Ubuntu versions.
I’ve searched through the official documentation, through the german and english wikis - but nothing, only old and deprecated information that doesn’t work with the current LUKS implementation in Ubuntu 24.10. And I’ve still not found a good starting point for reverse engineering to figure it out by myself.