Setting-Up LUKS/dm-crypt for External USB-Drive
Setting-Up LUKS/dm-crypt for External USB-Drive
The following commands are used to encrypt the whole USB hard-drive. This hard-drive is assumed to be on /dev/sdc. Create one partition. One can use gparted for this. Then
cryptsetup luksFormat /dev/sdc1
luksFormat is only used once.
To make this encrypted drive available as device on /dev/mapper use
cryptsetup luksOpen /dev/sdc1 SeagatePortable
The name SeagatePortable is an arbitrary…
View On WordPress
















