Language Selection

English French German Italian Portuguese Spanish

How to set up an encrypted filesystem in several easy steps

Filed under

There's been a lot of talk lately about encrypted partitions, and Debian is proud to offer a feature to easily create them in the etch installer since beta3. But what about existing systems? This guide walks you through setting up an encrypted partition using cryptsetup and LUKS.


This guide will walk you through the creation of an encrypted filesystem using LUKS. LUKS is the Linux Unified Key Setup and is a standard format for linux hard disk encryption. It has a lot of interesting features such as using a key on a removable disk, keeping multiple keys, and more. This is the technology used by the Debian Installer (since etch beta3) and is quickly becoming a standard in the linux world.

Who this guide is for

This guide is for anyone who wants to secure their data using an encrypted partition. While it is tailored to users of Debian, it should apply elsewhere in the linux world. This guide is intended to add an encrypted device to an existing install, if you are contemplating a fresh install, the Debian Installer will configure encrypted filesystems for you.

Ready? Then let's begin

Prepare the partition (or other block device) to be used

Full Story.

More in Tux Machines

GNOME Boxes 3.18.1 QEMU-Based Virtualization App Brings More Fixes

While the developers of the GNOME desktop environment are working hard these days to push the first point release of GNOME 3.18 to users worldwide, package maintainers have also prepared various updates to the project's core components and applications. Read more Also: GNOME's Cheese Webcam Viewer App Gets Better Video Preview Scaling and Resizing

Fedora 23 Final Freeze Now In Effect, the Linux OS Arrives on October 27

According to the official release schedule for the forthcoming Fedora 23 Linux operating system, the day of October 13, 2015, marked the Final Freeze milestone in the distribution's development cycle. Read more

Moto 360 (2015) Review: The Most Watch-Like Android Wear Device Yet

Motorola kicked off the age of Android Wear when it announced the original 360 more than six months before it was finally released. It was a beautiful piece of hardware, but was saddled with an ancient TI OMAP ARM chip and recessed lugs that led to cracked back panels. The second generation device addresses many of the shortcomings of that wearable, but some of them are still staring you in the face. Still, it might be the watch you've been waiting for. Read more

Linux Kernel 3.2.72 LTS Is Full of Improvements, Users Urged to Update Now

Just a few moments ago, Ben Hutchings, the maintainer of the long-term supported Linux 3.2 kernel series, has had the pleasure of informing Linux users about the immediate availability for download of Linux kernel 3.2.72 LTS. Read more