davideaves.com

Live in a world of your own, but always welcome visitors.

View on GitHub
18 August 2014

LUKS Quick Examples

by deaves

Required Debian/Ubuntu Packages

Filesystem Encryption

The LUKS-formatting command above has the following options:

Creating a Filesystem

The mkfs options above are as follows:

Mounting a Filesystem

To mount a truecrypt partition:

Change Passwords on a Filesystem

LUKS supports eight key slots per partition.

To add and remove keys from the slots:

Which slots have keys:

Headers on a Filesystem

Replace luksHeaderBackup with luksHeaderRestore to restore the old keys again.

Unmount a Filesystem

Source & Additional Documentation

tags: examples - linux - luks