tpm2-initramfs-tool
tpm2-initramfs-tool copied to clipboard
initramfs prompt if no TPM module found ubuntu 20.04
TPM2 module works fine if its plugged and the encrypted disk gets unlocked thats great.
Just testing what happens when you plug the drive into another machine or remove the TPM module itself..
The boot comes up with lots of TPM failure messages (not surprising as it doesn't exist) and then the boot ends up at the initramfs prompt.
Is there any way to end up at a password prompt or worst case reboot?
It's expected. However, you might be able to wrapping the keyscript in /etc/crypttab for this kind of fallback behaviour.