LUKS+LVM+TPM2 passwordless unlock: "Failed to mount /sysroot"

It looks like you commented out fsType = "ext4";. This cannot be commented out. The initrd only includes kernel modules for file systems that it knows it needs, which is determined by fsType.

As a sidenote, keep in mind that the TPM is something that must be used carefully. It can render disk encryption pointless if you don’t have the system configured right.

1 Like