TrueCrypt 7.1 volume example

#Get truecrypt

mkdir /opt/truecrypt

cd /opt/truecrypt

wget “http://www.truecrypt.org/download/truecrypt-7.1-linux-console-x86.tar.gz”

tar -xvvf truecrypt-7.1-linux-console-x86.tar.gz

cd ./truecrypt-7.1-setup-console-x86

bash ./truecrypt-7.1-setup-console-x86

cd ../

rm truecrypt-7.1-linux-console-x86.tar.gz

rm -r truecrypt-7.1-setup-console-x86

#Read the documentation

truecrypt –help |less

#Make a key

truecrypt –create-keyfile –random-source=/dev/urandom test_truecrypt.key

#Make a volume

truecrypt –filesystem=none –volume-type=normal –encryption=AES –hash=SHA-512 –random-source=/dev/urandom –quick –keyfiles=test_truecrypt.key –password=Test_pa55word -c /dev/sdb5

#Mount the volume without trying to mounting the absent filesystem

truecrypt –keyfiles=test_truecrypt.key –password=Test_pa55word –filesystem=none –protect-hidden=no /dev/sdb5

#List your new encrypted volumes

truecrypt –list

#You can now format and mount the volume etc (optionally using LVM first)

mkfs.ext4 /dev/mapper/truecrypt1

mkdir /media/tc1

mount /dev/mapper/truecrypt1 /media/tc1

via TruecryptHiddenVolume – Community Ubuntu Documentation.

Annunci