Repository navigation
EN Disk encryption
Aleps31 edited this page Nov 11, 2026
·
1 revision
During installation you can encrypt the system with LUKS2 (AES-XTS, key derivation with Argon2id). It is available in every mode: whole disk, existing partition, free space and portable USB stick.
- The disk has a small unencrypted
/bootpartition (1 GB) with the kernel, and an encrypted partition with the system and your files. - At every start, right after the boot menu, you are asked for the disk password.
- The password must be at least 8 characters long and cannot contain the
|character. - On an existing partition you need a second partition on the same disk (at least 512 MiB, it will be erased) for
/boot: the installer asks for it. - On the portable USB stick both
/bootand the encrypted partition are on the stick.
During installation a 16-character recovery key is shown (for example k7mx 4pq2 hwz9 c3ea). It unlocks the disk instead of the password. Write it down and keep it somewhere safe, away from the computer; the installer does not continue until you confirm you have written it down.
At boot you can type it with or without spaces, in upper or lower case.
- If you forget the password and also lose the recovery key, the data cannot be recovered. There is no reset.
-
/bootis not encrypted (it holds the kernel and boot settings, not your files). - The password is typed with the layout chosen during installation (27 layouts, listed on the Installation page). With another keyboard (for example Greek, Cyrillic, Lithuanian, Latvian, Romanian) choose US and type it as on an American keyboard. It can only contain letters without accents, digits and common symbols.
- System updates, kernel included, work as on an unencrypted disk.
- Encryption is not a replacement for backups.