TPM Encryption on Kubuntu?

so standard ubuntu has a TPM based encryption, is there a way to get that going on a Kubuntu (currently 24.04) install as well? bringing in the security center it just says it cant determine the status of the encryption.

I would kinda like to have a TPM for the unlock as a start rather than another password to deal with.

I get the same message in my install of Ubuntu 26.04. I have made sure that both TPM 2 and Clear TPM are enabled.

I am beginning to think that the message means that I do not have Trusted Platform Module Full Disk Encryption. Which I do not have.

Regards

I wonder if standard Ubuntu installs something extra. I mean very obviously you need a luks setup to begin with as that’s not easy to add later, but tbh tpm shouldn’t be that insane to add also of course it does some weird snap stuff lol

You could always do a regular Kubuntu install with LUKS using a passphrase, and then, later, add TPM support via dracut.

does normal buntu use dracut too? or what do they do, kinda weird it doesnt straight work in Kubuntu. also dracut has one drawback. dropbear doesnt seem to be available on dracut, which helps when remote starting and TPM nopes out for some reason or whatever.

They don’t use the same installer (calamares vs subiquity) despite using dracut. Therefore the mechanism for TPM-based encryption isn’t there in the installer and requires post-install action.

Shouldn’t it be standardized that all spins have the same installer and the same options as the main distro? If in the end it’s just a different DE.

No. Each flavor is welcome to use whichever install method they prefer. For instance, since Kubuntu has a hardware partner (Kubuntu Focus), they have some specific requirements for what they need the installer to do. So, since each flavor is mostly self-governed by their own community, they are free to make their own decisions on the installer.

Despite using Dracut? I haven’t checked Ubuntu but kubuntu last time i installed it, used normal initramfs, rather than dracut

1 Like

Dracut is not the backend for either installer but the backend for the initial ramfs system. So, dracut has no factor in this despite being the method for enabling it. The fact of the matter is Kubuntu does not have the option for enabling TPM-based encryption at this time.

I’m working on a tool to set up TPM FDE on Ubuntu systems automatically. Use it, if you think it’s already secure. You still have to install dracut. GitHub - archee565/luksury: Automatically unlocks encrypted root volume through TPM sealing. · GitHub