Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 encrypted an Ubuntu partition with the standard partition password encryption ubuntu offers (LUKS, As far as I remember).

I have dd-dumped this partition to another computer, and want to mount the dd dump file.

Any ideas how mount the encrypted volume dump?


share|improve this question
up vote 1 down vote accepted

Finally, I found an article from G-Loaded Journal. In short, we need to make mount treat the file as a block device. First, we check which one is free:

losetup -f

Afterwards, we set it as a block device:

losetup /dev/loop0 /path/to/container1

Other instructions are pretty straightforward.

Note: make sure you're not using mkfs or similar commands on an existing encrypted volume! The instructions might be confusing on that point.

Note 2: It is always a good idea to back up a dumpfile before messing with it. Just cp your file to someplace else before messing with it!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.