LUKS: backups and headers

So from the cryptsetup FAQ and man page: “LUKS header: If the header of a LUKS volume gets damaged, all data is permanently lost unless you have a header-backup. If a key-slot is damaged, it can only be restored from a header-backup or if another active key-slot with known passphrase is undamaged. Damaging …

Adding an encrypted drive in Debian using LUKS and LVM

The idea is to add an additional drive to an existing encrypted installation (using LVM over LUKS, see https://julien.coubronne.net/wp-admin/post.php?post=478) Prepare your disk First you need to identify which disk you want to add: sudo fdisk -l or sudo lsblk Let’s say I want to encrypt the disk “sdc”. It should …