One of the best ways to protect your files on a Linux system is to enable hard disk encryption. It's possible to encrypt an entire hard drive or partition, which will keep every file that resides there safe. Without the correct decryption key, prying eyes will only be able to see cryptic gibberish when they try to read your files.
In this guide, we'll go over the step by step instructions of using LUKS to encrypt a Linux partition.
This is a companion discussion topic for the original entry at https://linuxconfig.org/partition-encryption