macOS: hdiutil: attach failed - image not recognized / no mountable file systems
The .dmg file is corrupted, incomplete, or not actually a disk image (often an HTML download page).
hdiutil: attach failed - image not recognizedhdiutil: attach failed - no mountable file systemsno mountable file systems dmgThe disk image couldn't be opened. image not recognizeddmg is corrupted and can't be opened Meaning
Check size and type: file app.dmg. A tiny file or "HTML document" means the download failed (blocked, login page). Re-download, verify checksum, and try hdiutil verify. Encrypted or unusual formats need the right tool/password.
Common causes
- Interrupted/incomplete download
- Server returned HTML error page named .dmg
- Corrupted file after transfer
- Wrong file type (zip/pkg renamed)
- Unsupported/encrypted image
⚡ Quick fix
file app.dmgand compare size- Re-download over a stable connection
hdiutil verify app.dmg
Detailed fix by platform
macOS
file app.dmg && shasum -a 256 app.dmg && hdiutil verify app.dmg
How to diagnose
- Type — file says disk image?
- Size — Expected?
- Checksum — Match?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Apple could not verify "x" is free of malware macOS: “app” cannot be opened because Apple cannot check it for malicious software / Apple could not verify “app” is free of malware that may harm your Mac
- hdiutil: create failed - Resource busy macOS: hdiutil: create failed - Resource busy (or: hdiutil: couldn't eject "disk2" - Resource busy)
- Homebrew Cask: It seems there is already an App at Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'
Most viewed in macOS
- is damaged and can’t be opened macOS: “App” is damaged and can’t be opened. You should move it to the Trash.
- Operation not permitted (macOS privacy) macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)
- zsh: command not found: brew macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 5 Nov 2026