Friday, April 4, 2008

Ext3 in Truecrypt 5.1a

So, Truecrypt only gives you the FAT-filesystem when creating a new volume. That's no good! Here's how I created a Ext3-filesystem in a external Truecrypt device.

truecrypt -l

gives you information about your mounted Truecrypt drive. Typical output:

/dev/sde2 /dev/loop0 /media/truecrypt1

You need to unmount the volume using

sudo umount /media/truecrypt1

Then you can format the volume (the encrypted volume that is):

sudo mke2fs -j -m0 /dev/loop0

This will format your encrypted volume into Ext3.

When finished, just Dismount it using the Truecrypt GUI, and then mount the whole thing again. Now, you'll have an encrypted Ext3-formated volume!

5 comments:

Anonymous said...

what version of linux and what kernel are you using? you should know that your tutorial is not working in ubuntu 7.10 due to a kernel bug. this is what forums say about this problem at least.

Lee said...

I've tried this on partitions less than a Gig and it seems fine. When I try on things that are larger, like a 37gig partition, the whole system goes into an endless I/O wait state while writing the inode table, and the machine becomes unusable. I have yet to get an ext3 on a very large partition...

Anonymous said...

i have the same problem like lee

Kubuntu 7.10

Ian said...

Thanks that worked fine for me on a 3GByte partition.

Nicolas said...

Thanks a lot, worked great in Fedora Core 8. Would be nice if their official documentation for the linux distribution mentioned this. Do they really think we want to use FAT?