I would like to setup Full Disk Encryption (FDE) for an external harddrive. My question is about the sequence of formatting. Will the following sequence work fine or do I need to run luksFormat on an unformatted partition?
- use gparted to create an msdos partition-table
- use gparted to create and format a partition with Ext4 (let's say partition name is "sdb1")
- unmount partition /dev/sdb1
- open Terminal and run command
sudo cryptsetup luksFormat /dev/sdb1
Do I now have an FDE external harddrive? I've read in a few places that the luksFormat command is run on an unformatted partition. Is this a requirement? Have I done anything wrong by formatting with Ext4 and then running luksFormat? Any guidance on how to properly achieve FDE for external harddrive would be great. Thanks.
performing this task on Ubuntu 14.04.
You have the order wrong. Assuming sdb1 ...
See:
http://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/
https://help.ubuntu.com/community/EncryptedFilesystemHowto3
https://wiki.archlinux.org/index.php/Dm-crypt