Setup / Install Truecrypt in Ubuntu Linux – This easy guide will help you do it the simple way.
TrueCrypt is an open source software that helps you set up and maintain an on-the-fly encrypted volume. On the fly encryption means data is automatically encrypted or decrypted right before they are loaded or saved, without any user intervention.
You need a keyfile and /or a password to access the data stored in an encrypted volume (file). TrueCrypt encrypts the entire filesystem – including file names, folder names, contents of every file, free space, meta data and so on.
TrueCrypt is available for Windows, Linux, and Mac OS X.
Note: The steps listed below are the same to install Truecrypt in Fedora and OpenSuse as well. With the exception that you have to download the respective packages for your Linux distribution.
You can setup/install Truecrypt in Ubuntu Linux in the following steps.
Step 1 : Download and install TrueCrypt for Ubuntu
You can download TrueCrypt as Ubuntu deb file from its website. Once downloaded, unpack the archive and double-click on the installer to run the setup. After installation, you will find TrueCrypt at the following Gnome Menu location –
Applications > Accessories > TrueCrypt.
Step 2: Create an encrypted volume for TrueCrypt
The first thing you have to do after you install TrueCrypt in Ubuntu is to create an encrypted volume which will be used to store all your sensitive data. The following are the steps involved in creating an encrypted volume.
In the TrueCrypt main interface shown below, click on the “Create Volume” button to start the TrueCrypt volume creation wizard.
In the TrueCrypt volume creation wizard, select “Create an encrypted file container” option. Click “Next”.
Select the volume type
You can choose the standard volume type or the hidden volume type. Accept the defaults and click “Next”.
Set Volume Location
Now you have to choose the name of the volume file and the location where you want to store the volume file. A new file will be created. If you choose an existing file, it will be overwritten. So give a unique name for your TrueCrypt volume file.
For example, the name I gave for my TrueCrypt volume is
encrypted-file and is saved in my home directory. Click Next.
Choose the encryption algorithm and hash algorithm
The default encryption choice “AES” is fine. Click Next.
Select the maximum size for your volume
Make sure it is less than the free space available on your computer. 1 GB is a good value.
Set the volume password
You can optionally associate a keyfile with your password. Choose a password consisting of more than 20 characters. If you choose a short password, TrueCrypt will warn you.
Format the volume file
There are four options available namely – none, EXT2, EXT3, and FAT. Choose the file system type you want for your TrueCrypt volume file. If you are using TrueCrypt in Windows, you should use FAT.
Choose whether you want cross-platform support for your mounted volumes.
Format the TrueCrypt volume file by clicking the “Format” button.
Format in progress…
Provide Administrator Password
Next you will be prompted for your computer administrator or user password. Enter it in the dialog box. Click OK.
The TrueCrypt volume has been successfully created.
Step 3: Mount the TrueCrypt volume
This is done from the TrueCrypt main dialog as shown in the following picture.
- Select the encrypted volume file.
- Select an empty slot. TrueCrypt offers over 60 slots to mount more than one encrypted volume.
- Click on the “Mount” button to mount the encrypted file.
In my case the volume was mounted at the
Dismount a TrueCrypt Volume
To dismount the TrueCrypt volume, do the following :
- Select the requisite slot which contains the TrueCrypt volume.
- Click on “Dismount” button as shown in the picture above.
Uses of TrueCrypt
TrueCrypt is an encryption tool which helps you safeguard your data from falling into hostile hands.
You can use TrueCrypt to –
- Create a virtual encrypted disk.
- Encrypt an entire partition or storage device.
- Encrypt the system drive or partition.
TrueCrypt supports steganography by way of hidden volumes and hidden operating systems (An OS that is installed in a hidden TrueCrypt volume).