bartman's blog

adding an external encrypted volume under Debian

bartman

One of my old(er) USB-connected disks started to make a noise. So, it’s time to replace it.

Here are the steps I took to create an encrypted USB volume that I can attach to my laptop.

Below I avoid using direct device names (like /dev/sdc1) but instead use the ones provided by udev (ie /dev/disk/by-id and /dev/disk/by-uuid).

Your device IDs will be different. Check your /dev/disk/... hierarchy.

Tags: