How to unlock LUKS partition at boot?
2026-07-23 16:50 UTC
Replies (3)
-
@akunohana@piefed.blahaj.zone 2026-07-23 16:54
Maybe this: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS
-
@BillibusMaximus@sh.itjust.works 2026-07-23 17:19
Caveat: I’ve used LUKS quite a bit, but never to do exactly what you’re trying to do, so the following is a guess. If the root disk was the encrypted one, the tooling would add scripts to your initramfs to handle the prompting and unlocking at boot. Since it’s not the root, those scripts maybe not be getting added. I’m not sure about the “right” way to force it to add them, but you should be able to manually tweak your initramfs setup to add them.
-
@moonpiedumplings@programming.dev 2026-07-23 17:47
It looks like KDE and linux mint have the ability to auto unlock and mount drives, according to this bug: bugs.kde.org/show_bug.cgi?id=466731 Probably a feature of the desktop environment.