I thought I’d post my experience here incase it helps others, albeit unfortunately a bad one in my case.
I’d tried get the TPM FDE functionality working the other day, on a Gigabyte x570 UD motherboard (2019 model, AM4 socket), running the latest firmware available for it (2025).
Windows 11 had no issues with TPM backed Bitlocker on this system, but Ubuntu 26.04 had two main issues
-
Ubuntu couldn’t clear the TPM despite offering 3 different options in the installer to try. That’s fine, the TPM could be reset in the UEFI/BIOS itself, which the installer also detailed as an option if the easier built-in routes didn’t work.
-
Ubuntu kept stating the system needed to be in “deployed mode”, which lead me down several hours of figuring out what that meant, because the same configuration worked fine with Windows 11, which claimed Secure Boot was enabled fine, as well as other tools in Linux like mokutil -–sb-state, systemd-bootctl and others, also saying secure boot was enabled.
After various hours learning about tools like systemd-analyze pcrs and getting a better understanding about how this all fits together, alongside clearing the CMOS a few times and downgrading and upgrading firmware, alongside resetting the factory keys in the UEFI repeatedly, I’d eventually noticed what I think the error was:
-
this is a 2019 motherboard, but Microsoft released a new signing key 2023
-
restoring the factory keys would install the 2023 Microsoft KEK above
-
the KEK keys would unset the deployed mode bit, because the firmware seemingly doesn’t trust its own factory keys (a big defect!)
I’d been told elsewhere that strictly only the PK key needs to be enrolled. Being about 12 hours into this I wasn’t really expecting the that removing all the other keys but the PK keys would be fatal,
-
with just the PK but no KEK keys installed, the system would show as verified, finally (presumably meaning the deployable bit was fixed)
-
the system would now reboot and be fatally broken, logically I’d have to assume that it now no longer trusts itself, and refuses to boot entirely
Trying to reset the firmware the manual way (these motherboards can rewrite the firmware without a CPU installed) doesn’t work at all. I’m cautious that the firmware doesn’t trust it’s own code sufficiently, and so, is basically bricked.
As a result I’m currently without a desktop and trying to get everything done on a phone
.
In any case, would it be possible for Ubuntu, like Windows, to simply ignore the deployable bit if the rest of the chain can be validated? It does mean my PC has been running in not quite secure mode for years apparently, since unsigned bootloaders would have still been able to run, but I’m presuming Microsoft’s logic is that the system can still tell it’s the wrong bootloader and the FDE isn’t compromised because in such a situation the system wouldn’t leak keys anyway. Given the amount of Windows users, I imagine this must have been common enough for Microsoft to work around it for the sake of user experience.
Tl;Dr
Can we possibly lighten up on the deployable mode restrictions like Windows does?