Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a dd image of a full drive (as a file) that was using Truecrypt system encryption under windows. I want to mount the main partition from that image using Linux's Truecrypt. I am familiar with dd loopback devices and have the partition offset, but I don't know how I can mount it like this because I need to use the truecrypt command.

Is there perhaps some way to create a fake device file for the disk image that I can mount from within Truecrypt?

share|improve this question
    
/dev/loopxx doesn't work for Truecrypt? – Daniel Beck Jul 16 '11 at 12:37
    
Okay I didn't know about losetup before! I have tried using losetup to create a loop device with the specified offset into the file, but truecrypt still doesn't seem to like it: "Partition Device Required" – Andrew Moss Jul 16 '11 at 12:50
    
I don't think that a "fake device file" is part of the UNIX model - mountpoints are about as transparent as you can get, so no reasonable program should really care anyway. How TrueCrypt detects that it's on a loopback, I have no idea, but I think it's trying to prevent brute force attacks on a copied disk image. – new123456 Jul 16 '11 at 19:36
    
I very much doubt they would build in something like that, any attacker worth his salt would just remove such a limitation from the source code of Truecrypt and try again. Plus it wouldn't be a lot of use to try and brute force AES volumes with decent passphrases. – Andrew Moss Jul 17 '11 at 10:05
up vote 0 down vote accepted

For now I worked around it by using the dd image in vmware, more details: blog entry

share|improve this answer
    
Link is broken. – user39559 Aug 9 '12 at 23:23
    
Yeah sorry it's been broken for some time, it is now redirected to a summary of the lost article. – Andrew Moss Aug 11 '12 at 7:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .