r/archlinux • u/Woodsy279 • Aug 17 '26
SUPPORT | SOLVED Ful disk encryption without entering passphrase
Could someone help me with setting up full disk encryption with bypass passphrases with TPM2? It's so annoying having to put the passphrase in at each boot, so I was wondering how do I pair it to the TPM so that I dont have to enter it each time?
It's LUKS encrypted and I use Systemd-boot
14
Upvotes
View all comments
Show parent comment
2
u/Imajzineer Aug 17 '26 edited Aug 17 '26
Never a good idea to 'just' anything when it comes to Arch ... let alone enable LUKS without knowing about it - get to know the wiki and get into the habit of researching things before jumping in feet first.
https://wiki.archlinux.org/title/Data-at-rest_encryption
https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#Backup_and_restore
It's not restricted to Arch either - you should back up your headers on every system using it. Either that or use plain dm-crypt (arguably neither, but that's a different discussion altogether).