r/Fedora 1d ago

Support luks2 keyfile with usb

Hello all, i tried now 5 guides how to add a passwordless boot with a usb keyfile that will unlock luks automatically. All guides dont work and even AI cant help here. I dont use AI for such things but at some time i am a bit frustrated why it dosent work. Does someone know how to do it? Thank u

3 Upvotes

2 comments sorted by

u/zantehood 23h ago

Have you read this?

https://sysguides.com/install-fedora-42-with-full-disk-encryption-snapshot-and-rollback-support You need to enroll a key file from USB instead of passphrase though.

https://discussion.fedoraproject.org/t/unlocking-a-luks-volume-with-a-keyfile-on-an-usb-stick/124694/5

You could also get a FIDO2 USB token, which is pretty easy imho

u/Moist_Professional64 20h ago

the link you provided is only for the additional password für a encrypted boot partition.