Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.