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

OpenPHT 1.5.1 for Debian/sid

I have updated the openpht repository with builds of OpenPHT 1.5.1 for Debian/sid for both amd64 and i386 architecture. For those who have forgotten it, OpenPHT is the open source fork of Plex Home Theater that is used on RasPlex, see my last post concerning OpenPHT for details. Read more

A man with his Fingers in many millions of pies

At the time of writing, over five million Raspberry Pis have been sold. That’s the same as the number of ZX Spectrums sold in the 80s. And like the Spectrum, the Pi is likely to have a far-reaching legacy, helping the next generation of games designers and computer scientists find their feet. Countless numbers of people have helped make this happen, but Eben Upton has been there from the beginning. He’s the founder and the CEO of the Raspberry Pi Foundation, and he’s still shaping every aspect of the Raspberry Pi, from its hardware to the software. We met Eben shortly before the launch of the model 2. He told us about the effort they’ve put into making the Pi better and how a chance conversation with the boss of Google shaped the Pi’s future. Read more

Linux for your Loved Ones

Few things in this life are more frustrating than trying to provide tech support to loved ones. If you’re reading this, odds are you’ve run into this experience yourself at some point in your life. Now, I should point out that no operating system is completely free from bugs. Even the most locked down devices, such as tablets or Chromebooks can still experience challenges due to connectivity. I believe today’s popular Linux distributions are a far better option in the long run. Using a Linux distro often means you can work with existing PC hardware instead of buying new stuff. And unlike Google’s Chromebook, you’re not providing remote access help over wifi – the older PC running Linux happens to have a wired connection. This alone is enough to save one’s sanity. (Read the rest)

Red Hat and Fedora

  • Red Hat Drives FPGAs, ARM Servers
    FPGA vendors and users will meet next month in an effort to define a standard software interface for accelerators. The meeting is being convened by Red Hat’s chief ARM architect, who gave an update (Wednesday) on efforts to establish ARM servers. “There’s a trend towards high-level synthesis so an FPGA programmer can write in OpenCL up front but the little piece that’s been ignored is how OpenCL talks to Linux,” said Jon Masters, speaking at the Linley Data Center event here.
  • Rackspace Launches Private Cloud Powered by Red Hat
  • Rackspace now hosts Red Hat’s Enterprise Linux OpenStack on its private cloud
  • Everence Capital Management Inc. Buys 3,232 Shares of Red Hat Inc (RHT)
    Everence Capital Management Inc. increased its position in Red Hat Inc (NYSE:RHT) by 105.1% during the fourth quarter, according to its most recent Form 13F filing with the Securities and Exchange Commission. The fund owned 6,307 shares of the open-source software company’s stock after buying an additional 3,232 shares during the period. Everence Capital Management Inc.’s holdings in Red Hat were worth $522,000 as of its most recent filing with the SEC.
  • New standing desk set up
  • Fedora News Channel on Telegram
    I and Justin Flory have created a Fedora News channel on Telegram. It’s a new way to follow news about the Fedora Project and it’s supplementary to the news channels we’re already using (Planet Fedora/RSS, Facebook, Google+, Twitter, mailing lists). The Telegram channel is a one-way communication, there is no way to reply or comment on news messages. For discussion, we already have a Fedora group chat.