> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Linux disk encryption guide & FAQ

> Encrypt the disk of your Linux device and back up its encryption key with Primo, with answers to common questions.

Your IT team asks for two things on a Linux device: an encrypted disk, and a backup of its encryption key, so they can unlock the device if you forget your disk passphrase. This guide covers Ubuntu and Fedora.

> [!WARNING]
>
> On Linux, a disk can only be encrypted while the operating system is
> installed. If your disk is not encrypted, you have to reinstall Linux, which
> erases everything on the disk. Back up your files and ask your IT team before
> you start.

## Check what Primo asks for

When your disk or its key needs attention, the Primo icon in the top bar shows a red dot. Open **Primo** from your applications to see why:

* If it says **Host's disk is not encrypted**, [encrypt your disk](#encrypt-your-disk) first, then back up its key.
* Otherwise your disk is already encrypted, and only its key is missing. Go straight to [back up your disk encryption key](#back-up-your-disk-encryption-key).

## Encrypt your disk

> [tab] Ubuntu
>
> **1. Back up your files**
>
> Copy your files to your company's cloud storage or to an external drive.
> Reinstalling erases the disk.
>
> **2. Start the installer**
>
> Start your device from an Ubuntu installation USB drive. Your IT team
> can tell you which Ubuntu version to install.
>
> **3. Turn on encryption**
>
> On the disk setup screen, select **Erase disk and install Ubuntu**,
> click **Advanced features**, then select **Use LVM and encryption**.
>
> **4. Choose a passphrase**
>
> Pick a passphrase different from your account password. You type it
> every time the device starts.
>
> **5. Enroll your device again**
>
> Once Ubuntu is installed, enroll your device in Primo again with the
> [employee enrollment
> guide](https://docs.getprimo.com/guides/device-management/employee-enrollment-guide.md). Primo
> Desktop comes back with it.

> [tab] Fedora
>
> **1. Back up your files**
>
> Copy your files to your company's cloud storage or to an external drive.
> Reinstalling erases the disk.
>
> **2. Start the installer**
>
> Start your device from a Fedora installation USB drive. Your IT team can
> tell you which Fedora version to install.
>
> **3. Turn on encryption**
>
> On the **Storage configuration** screen, select **Encrypt my data**.
>
> **4. Choose a passphrase**
>
> Pick a passphrase different from your account password. You type it
> every time the device starts.
>
> **5. Enroll your device again**
>
> Once Fedora is installed, enroll your device in Primo again with the
> [employee enrollment
> guide](https://docs.getprimo.com/guides/device-management/employee-enrollment-guide.md). Primo
> Desktop comes back with it.

## Back up your disk encryption key

**1. Start the backup**

Click the Primo icon in the top bar, then **Back up disk encryption key…**.
You can also click the **Back up your disk encryption key** notification, or
the **Back up disk encryption key…** button in the Primo window.

**2. Enter your disk passphrase**

Within a minute, a window asks for the passphrase you type when the device
starts. Keep your desktop visible until it appears, then enter your
passphrase.

**3. Wait for the confirmation**

Primo shows **Disk encryption key backed up** once the backup is done. It
can take a few minutes. The red dot on the Primo icon then goes away.

***

### Does the backup change my disk passphrase?

No. Primo adds a new key to your disk and backs it up for your IT team. You keep typing the same passphrase when the device starts.

### What is the backed-up key for?

If you forget your disk passphrase, your IT team uses the key to unlock your device. Without it, the data on the disk cannot be recovered.

### The passphrase window never appeared. What do I do?

The window closes after about a minute. Wait a few minutes, then click **Back up disk encryption key…** again. If Primo says a backup is already in progress, it tells you how long to wait.

### My device has several user accounts. Can I back up the key?

Not yet: the backup only works on a device with a single user account. Back up the key before you create a second account, or contact your IT team.

### I don't see the Primo icon in the top bar. Where is it?

On Fedora, the top bar needs the **AppIndicator** extension, which Primo turns on for you: sign out and sign back in to see the icon. Until then, open **Primo** from your applications. Its window has the same **Back up disk encryption key…** button.

### Which Linux distributions are supported?

Ubuntu 22.04 or later, and Fedora 43 or later. On another distribution, ask your IT team.

### Who do I contact if something goes wrong?

Contact your IT team – Primo Support is only for company admins.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.