Encrypt your disks on Linux


Encryption on Linux, whether on servers or desktops, is no longer a problem. Linux comes with the required built-in tools in the form of Cryptsetup and LUKS. Distributions integrate these built-in tools so well that you can set up a system with an encrypted root partition and encrypted home directories without any worries.

For mobile devices like laptops, these encryption tools put Linux on a par with other products like Windows (Bitlocker) or macOS (File Vault). The same applies to the encryption of portable media like USB sticks or external USB hard drives. Here, solutions are available in the form of Veracrypt, GocryptFS, and again Cryptsetup/LUKS, which can be set up quickly and work in an absolutely reliable way. If you travel between OS worlds from time to time, you will even find a solution in the form of Veracrypt that you can use on all common operating systems.

One consideration is that an existing system without encryption cannot easily be switched to encryption. Against the background of fast external drives with USB-C and Thunderbolt interfaces, it seems to make more sense to migrate all data from the device, re-install with encryption, and copy the data back.

The Author

Freelance journalist Martin Gerhard Loschwitz focuses primarily on topics such as OpenStack, Kubernetes, and Ceph.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • VeraCrypt

    The VeraCrypt encryption software comes with a handy graphical interface, and the ability to hide a container in an encrypted volume adds a unique professional feature: plausibly deniable encryption.

  • VeraCrypt

    Protect your data and operating system from prying eyes with VeraCrypt.

  • Discreete Linux

    Internet users can fly under the radar of hackers and data collectors with Discreete Linux.

  • zuluCrypt

    The security of personal data is a major topic in the Linux world. zuluCrypt gives users a tool for uncomplicated encryption of any data.

  • TruPax 9

    The TruPax tool specializes in encrypting small datasets to safeguard your data from prying eyes.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More