TheBlackzone Logo

Mounting Truecrypt Volumes in Linux

Posted on Sunday, September 3, 2017 by TheBlackzone

Today I learned (well not actually today, but a few days ago): You can easily mount Truecrypt containers with cryptsetup in Linux. So let's put a quick reminder here, just in case I need this again...

Set up a loop device

sudo losetup /dev/loop0 /path/to/truecrypt/container

Then open it

sudo cryptsetup open --type tcrypt /dev/loop0 tccontainer

And finally mount the container

sudo mount /dev/mapper/tccontainer /mnt

To close it again, go the other way round...

umount /mnt
sudo cryptsetup close tccontainer
sudo losetup -d /dev/loop0


You can also mount hidden Truecrypt containers by specifying the type tcrypt-hidden in the cryptsetup open... step.

Tags: computer, linux, howto

Button PreviousInstalling MS-DOS in QEMU

Back to static?Button Next