From 2be5692c747b0c8a618aa07d0f02bc6a1684a498 Mon Sep 17 00:00:00 2001 From: veilor-org Date: Sun, 3 May 2026 17:35:31 +0100 Subject: [PATCH] v0.5.18: add crypt + systemd-cryptsetup + ask-password agent to initramfs v0.5.17 boot stuck at dracut-initqueue waiting for LUKS device that never unlocks. Plymouth removal also dropped the dracut machinery that prompts user for LUKS passphrase. Pure-text systemd-tty-ask- password-agent works in real root but isn't bundled into initramfs. Fix: dracut.conf.d/99-veilor-no-plymouth.conf: add_dracutmodules+=" crypt systemd-cryptsetup " install_items+=" /usr/bin/systemd-tty-ask-password-agent " Result: dracut bundles systemd-cryptsetup + ask-password binary into initramfs. cryptsetup-generator creates unit at boot, ask-password- agent prompts on tty1 in text mode "Please enter passphrase for...:". sendkey-friendly + works on real hardware. --- overlay/usr/local/bin/veilor-installer | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overlay/usr/local/bin/veilor-installer b/overlay/usr/local/bin/veilor-installer index 7c8988e..69c84a8 100644 --- a/overlay/usr/local/bin/veilor-installer +++ b/overlay/usr/local/bin/veilor-installer @@ -555,6 +555,12 @@ bash $REPO/scripts/kde-theme-apply.sh mkdir -p /etc/dracut.conf.d cat > /etc/dracut.conf.d/99-veilor-no-plymouth.conf << 'EOF' omit_dracutmodules+=" plymouth " +# Ensure systemd-cryptsetup module + systemd-ask-password agent are +# included so LUKS prompt appears on tty1 (text mode) when plymouth +# is omitted. Without these, dracut loops on devexists waiting for +# an unlock that never happens. +add_dracutmodules+=" crypt systemd-cryptsetup " +install_items+=" /usr/bin/systemd-tty-ask-password-agent " EOF # Regenerate initramfs for the installed kernel(s). for kver in /lib/modules/*/; do