You are not logged in.

#1 2025-07-16 05:05:55

evilhamsterman
Member
Registered: 2013-08-15
Posts: 12

sd-encrypt prompt not showing

I just installed Arch on a Framework 13 AMD 7 350. I used the arch installer and setup the root with LUKS, BTRFS with subvols and UKI. I switched to a Systemd initramfs and setup systemd-cryptenroll to unlock my root with a Fido2 key, or recovery. It boots fine with either except it never actually displays the prompt for the Fido2. It says "Starting cryptography setup for root..." then skips a bunch of lines, says "Finished Load Kernel Modules" then gives a Systemd start job bouncer that flips between "A start job is running for Cryptography Setup for root" and "A start job is running for /dev/mapper/root"

I've tried removing and adding all sorts of HOOKS, different orders, etc same thing.

Mkinitcpio currently

HOOKS=(systemd autodetect microcode sd-vconsole modconf sd-encrypt block filesystems fsck)

Crypttab.initramfs

root    UUID="3465315f-58aa-4864-a2a9-741ed3e487a6" none    fido2-device=auto,discard

cmdline

root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs

It accepts the Fido2 key, I just need to touch it while the bouncer is running and it'll immediately continue booting. But not having the prompt is rather annoying.

Offline

#2 2025-07-16 12:44:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,809

Re: sd-encrypt prompt not showing

Try adding the keyboard hook  , see https://wiki.archlinux.org/title/Mkinit … mmon_hooks


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB