Language Selection

English French German Italian Portuguese Spanish

How to set up an encrypted filesystem in several easy steps

Filed under
HowTos

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.

Introduction

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

Red Hat and Fedora

Android Leftovers

SUSE at LuLu and History

  • LuLu Group migrates to SUSE Linux Enterprise Server
    LuLu Group has selected SUSE Linux Enterprise Server for SAP Applications to help business managers faster identify and respond to new opportunities and competitive threats. Headquartered in the United Arab Emirates, the international retailer runs 124 outlets and operates in 31 countries. It welcomes more than 700,000 shoppers daily. Since starting its retail journey in the early 1990s, LuLu Group expanded its business aggressively and required advanced technology to optimise its business. Hence, it migrated from Solaris UNIX to SUSE Linux as platform for SAP solutions, reducing SAP landscape operating costs at least 20 percent.
  • SUSE's Role in the History of Linux and Open Source
    What role did SUSE play in the growth of Linux and the open source ecosystem? How did SUSE and other Linux-based operating systems evolve into the enterprise platforms they are today? Here's what SUSE employees had to say about Linux history in a recent interview. To help mark the anniversary of Linus Torvalds's release of Linux twenty-five years ago, I interviewed Meiki Chabowski, SUSE Documentation, and Markus Feilner, Strategist & Documentation Team Lead. Their answers, printed below, provide interesting perspective not only on the history of SUSE, but also of Linux and open source as a whole.

Cost Effective Linux Server Software for Enterprises

The advantages of a Linux server over expensive Windows systems are numerous with hardly any drawbacks. Since Linux is not dominant as Windows, there are some slight difficulties to find applications based on this platform to support the needs. While security stands as an important aspect for servers, the advantage over dominant operating systems is that security flaws are caught in Linux, even before they become an issue for the public. Linux was one of the first open-source technologies in which you can download the source code and change it any way you like. Several Linux coders have developed software that’s completely open-source for any user, improving the security and usability at each core. Read more Also: Weigh the pros, cons of three Linux load balancer options