I have a computer with Xubuntu 16.04. I want to create an encrypted data partition with LUKS. I started following this tutorial (which is for Ubuntu 16.10) but have encountered problems :
- The command to encrypt the partition seemed to work fine showing no error :
sudo cryptsetup luksFormat /dev/sdb1
- But GParted showed me afterwards a warning sign saying that LUKS is not taken in charge ! And when I tried to open the encrypted partition (
sudo cryptsetup luksOpen /dev/sdb1/ crypthome
) it returns an error, saying that the device does not exist - to which GParted and lsblk don't agree - or that its access is forbidden.
Any idea what is wrong ?
/crypthome
does not exist?/cryptohome
is a name, not a folder, you probably can't use a name with a/
/dev/sdb1
should have no/
!