Unable to open DMG files - "Corrupt Image"

I created a DMG file using Disk utility in Recovery Mode (File -> New Image -> Image from Folder).

Corrupt Image dmg

I tried all the possible options from this question:

  • extracting DMG using 7Zip - not working
  • converting it to another format like ISO - not converting
  • opening DMG using Disk Drill - not opening
  • opening DMG using Data Rescue - not opening

Is there any way to extract the data from the corrupted DMG file?

12

1 Answer

Found this online. Here is the link: How to repair a corrupted sparse bundle/image or dmg file

Here are the commands:

hdiutil attach -nomount -noverify -noautofsck -readwrite /volumes/"name of your image"
fsck_hfs -drfy /dev/diskxsx (x is your disk number)
hdiutil detach /dev/diskxsx (x is your disk number)
4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like