Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a partition file (a .gz.dd file) that I need to read the files from. I'm new to Linux and I don't know how I can read/mount .dd files in Ubuntu. Would you guys tell me the procedure of reading the file? Thanks.

share|improve this question
    
Is it gz.dd, or dd.gz? I'd expect the latter to be more common. –  hexafraction Feb 8 '13 at 12:17

1 Answer 1

up vote 1 down vote accepted

Are you sure it's not a .dd.gz file?

Here's how you uncompress a gzipped file:

gunzip example.dd.gz

This should create a file named example.dd in your current working directory.

To mount a dd image file, create a directory, and mount the image to that directory:

$ mkdir exampledir/
$ mount -o loop example.dd exampledir/

You may need to specify more options to the mount command depending on what type of image your file is.

You can now view the files inside the image by browsing exampledir/.

share|improve this answer
    
It was a .gz.dd file. But I renamed it to a dd.gz file and did the procedure you explained and it worked perfectly. Thanks for your help! –  Wise Feb 8 '13 at 13:08

Your Answer

 
discard

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.