Devuan GNU+Linux is a free software operating system for your computer. Free software means you are free to use, copy and distribute, study, change the software, and share your modifications with the community.

Full disk encryption

This is an easy to follow guide to setting up full disk encryption during a Devuan install. It requires that you have completed all other steps of the install and reached the disk partitioning menu.

Partitioning the disk

1) Choose to use the entire disk and set up encrypted LVM. This is recommended because it’s easiest for new users.

Partition with LVM and encryption

2) Choose the disk that will be encrypted. Here there is only one to choose from.

Select a disk to encrypt

3) You will need to choose a partitioning scheme as usual. Since we want to encrypt the disk the easy way, choose to install all files in one partition.

Select a partitioning scheme

4) You will need to write the partitioning scheme to the disk before encryption can be set up.

Write changes to disk

Encrypting the disk

5) The installer will now inform you that it is erasing the disk. This will take some time if you have a lot of disk space available.

Securely erasing the disk

6) You should now create an encryption passphrase. For a secure passphrase I would recommend a minimum of 20 characters, a mixture of upper and lower case letters, at least three numbers and a minimum of two symbols.

Enter an encryption passphrase

7) You will now be asked to set the size of the volume group. The simplest way is to leave this as the default which will use the whole disk.

Set size of volume

8) Check the overview of changes to be written, and if you are happy with it write the changes out to disk.

Overview of changes to be written

9) Finally, confirm the changes and continue with the install.

Accept the changes to be made

This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [CC BY-SA 4.0] license. All trademarks are the property of their respective owners. This work is provided “AS IS” and comes with absolutely NO warranty.

This site is free of cookies and javascript