[arch-general] problems with systemd hooks and encrypted root partition

Christian Rebischke Chris.Rebischke at archlinux.org
Tue Jul 11 00:45:58 UTC 2017

Does somebody else have problems with systemd hooks and an encrypted
root partition? I want to use systemd-boot with systemd hooks for my
whole boot process. Systemd-boot with the normal hooks works fine but
when I try to use systemd hooks I can't get through the cryptsetup
password prompt because it always jumps into emergency mode after 2

My hooks line looks like this:

HOOKS="base systemd autodetect modconf block keyboard sd-vconsole sd-encrypt filesystems fsck"

My boot entry for systemd-boot looks like this:

title	motoko-lts
linux	/vmlinuz-linux-lts
initrd	/initramfs-linux-lts.img
options rd.luks.uuid=1aa50d23-d139-4367-b552-448a1b14b086 rd.luks.name=71f4088d-e06f-43b2-818f-7a34de921460 root=71f4088d-e06f-43b2-818f-7a34de921460 rw

And my `sudo blkid` output is this one:

/dev/sda1: UUID="DBC6-90A0" TYPE="vfat" PARTLABEL="EFI" PARTUUID="aad19313-36df-4433-98ec-3fc310181629"
/dev/sda2: UUID="1aa50d23-d139-4367-b552-448a1b14b086" TYPE="crypto_LUKS" PARTLABEL="Root" PARTUUID="720f9c51-6861-418e-90d4-622295937c39"
/dev/mapper/root: UUID="71f4088d-e06f-43b2-818f-7a34de921460" TYPE="ext4"

Here is screenshot:


Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20170711/a587c6fe/attachment.asc>

More information about the arch-general mailing list