Basic Guide To Encrypting Linux Partitions With LUKS - LinuxConfig.org

There are plenty of reasons why people would need to encrypt a partition. Whether they're rooted it privacy, security, or confidentiality, setting up a basic encrypted partition on a Linux system is fairly easy.
This is a companion discussion topic for the original entry at https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks

Ciro Santilli

You can also do everything from the GUI with gnome-disks on Ubuntu: https://askubuntu.com/questions/12576/how-to-create-an-encrypted-partition/12640#12640

Does the new partition need to be added to the fstab file to be automatically mounted? Is the user prompted for the key at boot time? -Thx