Install Qubes OS with boot partition and a detached LUKS header on USB

I found a working config for me: simply changing crypt to systemd-cryptsetup, no need to include other files.

Relevant bugs:

Basically it’s what I suspected, that there’s a bug where crypt module doesn’t work if systemd is enabled.

I’ve been also wondering why we have to manually add crypt or systemd-cryptsetup. After studying the code, my theory is the detached header prevents dracut from automatically detecting the filesystem type.

@merowing I’m not sure why your config works for you but not for me. I’d guess either you don’t have systemd module enabled, or you have some other LUKS encrypted devices (without detached header), which makes dracut to include systemd-cryptsetup. Perhaps you can verify using lsinitrd /boot/initramfs-...

2 Likes