Okay, I give up. Anyone know why a LUKS password entered during Debian boot doesn’t unlock the drive, but the same password given to β€œcryptsetup luksOpen” works fine?
1
1
Does the initramfs have the required modules etc in it? If the crypttab isn't quite right, the initramfs builder can sometimes get things wrong.
1
Just digging into the initramfs. I think so, because cryptsetup from the initramfs works to unlock the drive. It seems to be specifically how it’s being called during boot.
1
One Debian person asks if you stick an sshd in the initramfs and use the remote, echo the password to a fifo, or whatever it is - does that work? - they're interested in keyboard state at that point in the boot process.
1
It’s a good thought. Running out of other options, though I’ve scattered β€œecho VARIABLE” throughout the scripts now πŸ˜„ I’ll investigate and let you know. Thanks for checking it out. πŸ‘πŸ»