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

After a series of unfortunate events, I have a clone of my laptop's hard drive as a .dmg file (created using dd). The dmg was built using the noerror option, which means that significant portions of this dmg and NULLed out. (for more information on dd, see this: http://hints.macworld.com/article.php?story=20050302225659382)

Because the first several megabytes of this dmg file are zeroed out, the dmg refuses to mount. Disk Utility can't repair it, so I'm wondering if there's any way to copy some other disk's boot sector into my dmg so that it will mount.

I realize that this is probably a risky thing to do, but if I can just get 1 folder off of this dmg, it would be worth my time.

Any ideas?

share|improve this question

If created with dd this is not a dmg, but an img file. Try renaming it to img and mount in the Finder by opening it. If there is any usable information about partitions or volumes it should mount. If it doesn't your're out of luck and need look into recovery software like ProSoft's DataRescue.

share|improve this answer

You must log in to answer this question.

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