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

Default Local DNS Resolver Integration Proposed for Fedora 24 Linux

Fedora Project's Platform and Program Manager, Mr. Jan Kurik, published another feature proposal for the upcoming Fedora 24 Linux operating system, the implementation of a default local DNS resolver. Read more

Gorgeous Deepin 15 Linux OS Gets a Second Alpha Build with Many Features

The developers of the Deepin Linux distribution designed from the ground-up to provide users with a beautiful, secure, stable, user-friendly, safe and reliable computer operating system have announced the release of Deepin 15 Alpha 2. Read more

Mesa 11.1 RC2 Brings Dozens Of Fixes

It's coming a few days late, but Mesa 11.1 Release Candidate 2 was officially released today. Mesa 11.1 when released later in December will have many new features but doesn't bump the overall OpenGL version support. Now being past the Mesa Git branching, Mesa 11.1-RC2 is just about bug/regression fixing. Read more