Any software out there that can image a TrueCrypt disc?

BirdDad

Golden Member
Nov 25, 2004
1,131
0
71
I run TC on my system drive and it sure would be nice to have something to create images with.
Acronis wont touch it, and I can't get Clonezilla to work right with it.
Any alternative(preferably one that compresses)?
 

VirtualLarry

No Lifer
Aug 25, 2001
56,570
10,202
126
Do you understand what TrueCrypt does? If so, why do you want to increase the size of your images, and slow down imaging, by compressing? (Encrypted data is essentially random, and random data increases in size when compressed.)

Look into using Norton Ghost for DOS with the forensic imaging option.
 

tynopik

Diamond Member
Aug 10, 2004
5,245
500
126
i get the impression he wants to image the mounted (ie non-encrypted) disk
 

11thHour

Senior member
Feb 20, 2004
796
1
0
I'm guessing his boot drive is fully encrypted, and he wants to back it up using images of it, like acronis does for non-encrypted drives.
 

John Connor

Lifer
Nov 30, 2012
22,757
617
121
I don't understand. Once you boot into Windows TC decrypts on the fly and thus you can clone. I use TC and AOMEI Backupper and never had a problem. Keep in mind that this data is cloned as unencrypted. So I encrypt the clones on the external drive.

If you want to offline clone that's a whole other animal.
 
Last edited:

BirdDad

Golden Member
Nov 25, 2004
1,131
0
71
Yrs my boot drive is encrypted and no I did not know that compression made the image files bigger. And no I don't want to increase the size of my image.
Yes I know what TrueCrypt does.
I was hoping to image(not clone) to an external hard drive after I have everything perfect.
Something like acronis but works with TC volumes as well.
 

masteryoda34

Golden Member
Dec 17, 2007
1,399
3
81
I have successfully made backups of a TrueCrypt encrypted system drive using "dd" - the block copy utility found on unix-like systems. http://en.wikipedia.org/wiki/Dd_(Unix)

With dd, you can clone your TrueCrypt drive to another drive, or you could write the entire contents into a file. Please note that if you write to a file, the file will be the size of your entire TrueCrypt volume. E.g. If your TrueCrypt volume is 200GB, the image file will be 200GB, even if only 40GB of the TrueCrypt volume is actually occupied. This is because you cannot tell the difference between free space and used space on a properly encrypted volume.

The actual command you run would look something like this:

For clone:
dd if=/dev/sdX of=/dev/sdY bs=16M

Where "sdX" is the drive you are reading from, and "sdY" is the drive you are cloning to.

For backup to image file:
dd if=/dev/sdX of=/path/to/file.img bs=16M

Where "sdX" is the drive you are backing up, and "/path/to/file.img" is the image file destination.

These commands will of course also work fine with a non-encrypted volume.

The "bs" parameter is just for "blocksize" and will help speed up the copy process.

Please be careful not to switch the "if" (input file) and "of" (output file) parameters. There's no safety mechanisms with "dd". It won't ask if you are sure you know what you're doing, and it won't stop you; it will just do whatever you ask.

I'd recommend running the backup operation using a Linux system. Even if you don't use Linux normally, you can just boot up a copy of Linux from a Live USB memory stick on the computer where your drives are attached, and make the backup.

Edit: To address your question about compression - You cannot compress an encrypted volume. If you find that it is possible to compress an encrypted volume, that means your encryption implementation is not secure.
 
Last edited: