hdiutil: image not recognized / no mountable file systems macOS Origin: Platform & cloud OSI layer 7 · Application Last updated 5 Nov 2026

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).

Exact message you may see 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
Seen on: macOS

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

  1. file app.dmg and compare size
  2. Re-download over a stable connection
  3. hdiutil verify app.dmg

Detailed fix by platform

macOS

  1. file app.dmg && shasum -a 256 app.dmg && hdiutil verify app.dmg

How to diagnose

  1. Type — file says disk image?
  2. Size — Expected?
  3. 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:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

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 (macOS)Apple could not verif…hdiutil: create failed - Resource busy — macOS: hdiutil: create failed - Resource busy (or: hdiutil: couldn't eject "disk2" - Resource busy) (macOS)hdiutil: create faile…Homebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It see…Homebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availabl…The installer encountered an error that caused the installation to fail — macOS: The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. (macOS)The installer encount…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line Too…zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type in …hdiutil: …

Explore the map of this error Full error map →

🧠 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.