On 05.11.21 10:57, lejeczek via users wrote:

I'm trying to tell systemd to unlock at boot root partition so I follow general notes/howtos but, after a reboot, when I think all is good to luks auto-unlock OS hangs at such re/boot. I wonder if any of you fellow Fedorians have such systemd-root-luks-unlock work? I'm on F35.

From my notes, hope this helps:

systemd-cryptenroll --tpm2-device=auto /dev/$DEVICE

vim /etc/crypttab
luks-$UUID UUID=$UUID - tpm2-device=auto,discard

# bug dracut
# -> https://bugzilla.redhat.com/show_bug.cgi?id=1976462

cat > /etc/dracut.conf.d/tss2.conf <<EOF

install_optional_items+=" /usr/lib64/libtss2* /usr/lib64/libfido2.so.* "

EOF

dracut -f

best regards
Ulf
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to