problems with systemd hooks and encrypted root partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,
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
seconds.


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:

https://paste.archlinux.de/HMZn/

Best regards,

Chris

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux