I've found some full-disk encryption (FDE) solutions for Linux OSes. Specifically, I've looked at solutions that work on Linux Mint or Ubuntu, since that's what I tend to use. But I'm sure this question applies to other distros, as well.

I'm looking for a full-disk solution that works as seamlessly for the user experience as it does with FileVault on macOS.

The FileVault experience is as follows:

  • FileVault encrypts the whole disk. Doing so is a one-click operation in the prefs panel for Security.
  • FV provides a pre-boot environment that unlocks a Mac equivalent of a Trusted Platform Module (it may actually be a TPM, but I don't think it is), which is the thing that locks up the key(s) that actually did the disk encryption
  • When you log in, you actually log in to the pre-boot environment. This then unlocks FV's keys. Only then is the OS disk unlocked.
  • The OS user's password is synchronized with the FV password; to the end user this is all seamless (except in a few use cases)

On Windows, BitLocker works with the TPM in much the same way as described above for FileVault.

On Linux, however, even with TPM tools installed, every full-disk encryption scheme I've encountered has required a boot password in addition to the login username and password.

For example, this (very well written and detailed) Linux Mint example:


In this example, (which is like a million easy-to-flub CLI steps, btw), FDE is done, but you can see the user has to type in a decryption passphrase into the Grub prompt on boot.

Has anyone cracked this nut for Linux?


  • User experience is such that user enters their login and password only once
  • Full disk encryption (including boot partition)
  • (Nice to have) Setup is easy, or, at the very least Simple(TM)
  • Did you ever find a viable solution for Linux? Or are there any developments in that direction? – ruffy Feb 23 '20 at 10:45

You can't encrypt the boot partition as you need to boot the pre-boot environment from it. Encrypting the boot partition does not help with anything.

Many standard Linux installs (including Ubuntu) allow you to select "full disk encryption" on boot, and don't require a grub password as part of the GUI. It does this buy loading the "pre-boot" environment from a ram disk and using this and LUKS to unlock the partition.

Once its booted there is there is typically a second step to log in as a particular user with password, however you can set automatic login to the GUI. Of-course, if you step away from your computer and left it in, your system is wide open.

Apparently (but I have not tested it), Ubuntu supports TPM 2.0 natively. (I confess to being skeptical this is automatically configured, but I've not tried it)

  • No, "automatic login" would never fly in my environment. in your second paragraph, what is actually getting encrypted? i.e. is /boot encrypted? – JDS Apr 26 '17 at 21:48
  • /boot is not encrypted, but the root partition is. I can't envision fde working without separate disk encryption and login, as fde needs to take place before the OS – davidgo Apr 26 '17 at 23:45
  • I can envision fde including /boot -- it is called "FileVault" or "Bitlocker". Thanks for the replies! – JDS Apr 27 '17 at 15:56
  • 2
    @JDS If you go to the section "operation" at en.m.wikipedia.org/wiki/BitLocker you will see that bootlocker requires a preboot environment similar to /boot. Filevault similarly has a preboot environment. All of these programs do partition encryption, not encryption of the full disk containing the preboot environment - despite the name. – davidgo Apr 27 '17 at 19:08
  • Awesome, thanks, I should have read that myself. For some reason I figured that the pre-boot environment decrypted the NTFS boot partition and then booted from it. I still get the impression that's how FV works, but I haven't seen a technical description of FV to know – JDS Apr 27 '17 at 20:49

Even on Windows, system partition (named by Microsoft and it is not visible to users. Use disk manager to see it) is not encrypted. There must be an un-encrypted part to load initial boot files. For linux this partition is /boot

There is a github project that addresses this desire: https://github.com/fox-it/linux-luks-tpm-boot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.