I have the key on my boot partition (/dev/sda1, UUID=A3E0-1D9D). I have tried all these, one at a time, in `/etc/kernel/cmdline.d/01-luks-root-key.conf`:
The last two with UUID partition names make system unbootable. Or more exactly, the system boots but gets stuck to the point where the decrypt password is normally asked.
Code: Select all
rd.luks.key=luks-root-key rd.luks.key=/luks-root-key rd.luks.key=UUID=A3E0-1D9D=luks-root-key rd.luks.key=UUID=A3E0-1D9D=/luks-root-key
Could the key be too big or something, or maybe only plain password file is supported?
Could this dracut / systemd-cryptsetup error be the reason I can't get this to work?
And one more question: should I try to do this with `rd.luks.key`, `luks.key` or `cryptdevice`, which seems to be used in some documentation?