tpm2-initramfs-tool icon indicating copy to clipboard operation
tpm2-initramfs-tool copied to clipboard

initramfs prompt if no TPM module found ubuntu 20.04

Open Dweller opened this issue 5 years ago • 1 comments

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?

Dweller avatar Oct 21 '20 15:10 Dweller

It's expected. However, you might be able to wrapping the keyscript in /etc/crypttab for this kind of fallback behaviour.

timchen119 avatar Oct 22 '20 07:10 timchen119