I'm unable to mount a DMG, getting a "no mountable filesystems" error
Solution 1
I have just had the same problem, with a disk image created by Disk Utility
itself. In my case, the disk image is whole disk image
, i.e. it contains a bare filesystem, no partition map whatsoever. Neither Disk Utility
nor hdiutil attach disk.dmg
would work, both complaining about the dreaded "no mountable file systems" issue.
What helped was to mount it from the command line, in two easy steps:
hdiutil attach -noverify -nomount disk.dmg
This only creates the device node. Now run
diskutil list
and note the diskN
part of your image, where N is a positive integer.
Finally, to mount the device, do
diskutil mountDisk /dev/diskN
where diskN
is the device identifier you determined before.
Note that you are mounting the entire disk, whereas normally you would mount a slice, such as disk0s2
.
Be aware that this helps if your problem is with a disk image similar to mine. Nonetheless, it should still work with partitioned disk images, see man diskutil
.
Solution 2
I also had this problem. In the end, what worked for me was Data Rescue.
What didn't work
I tried to follow the recommendations above and copy the dmg to read/write format. I tried both Disk Utility convert and hdiutil command in the terminal, but in both cases Finder hang in the end of the process and I had to restart the computer (forced restart of Finder didn't help).
What worked
I tried to mount the image within Disk Utility. As said above, this doesn't work, but the image now shows up as a greyed-out name in the left column of Disk Utility. This step is necessary so that Data Rescue can see the broken disk image. Next, launch Data Rescue. With "Quick Scan", Data Rescue found the entire folder structure and I could choose what files to recover. All in all, this took only 2-3 minutes.
Thanks sozuke80 for the Data Rescue tip!
// Niklas
Solution 3
Generally, if you are receiving "No mountable file system", that generally means that the disk image is corrupt or damaged.... Try re-downloading the disk image, or downloading the disk image from within another browser....
I have seen infrequent issues when Firefox has been used to download an disk image. Very uncommon, but it has happened...
Solution 4
I tried everything as mentioned here, as I too had a similar problem, but had to go a bit further to fully solve my issue.
Problem:
I created an image of my disk using Disk Utility on Snow Leopard. Instead of making sure if the image was created correctly, I went ahead and reformatted the drive. Afterwards, I tried to mount the image but it wouldn't let me verify, scan for recovery and the CRC checksum was wrong. All that, just to remove a stubborn boot sector EFI partition that wouldn't go away. Total nightmare!
Solutions:
I tried creating a new checksum and disc scan for recovery. In some cases that helps, but not with this dmg as it was corrupted from the beginning.
What worked best for me was @simonair's answer; although it didn't mount the image completely, it at least allowed it to show the dmg as a "ghosted" active partition under disk utility as well as a working/retrievable partition disk7 under terminal.
Once it was finally visible, I used "Data Rescue 3" in "Advanced View" mode to also show the dmg for scanning. The simple view only shows internal and external physical drives, it seems.
Click on your name.dmg file/virtual drive and make it do a full scan. Depending on its size, it may take from seconds to hours (mine was over 450GB, took approx 6 hours for "deep scan").
I now have all my documents, projects, backed up software and Aperture photo library restored to the original drive after a whole day of suffering.
Moral of the story:
For important data, forget dmg's as they may backfire. If you must create a dmg, make sure it works before deleting the original data. A full 1:1 backup works best to optical media (CD/DVD/BD) or to an additional internal/external hard drive.
Observations:
Disk Drill and Stellar Phoenix didn't help as much as I thought they would. Data Rescue is worth the money, no contest!
Solution 5
I had the same problem on an AES-128 encrypted dmg containing all of my most essential files, the kind worth spending thousands of dollars to have Drivesavers recover. I couldn't even copy the dmg to another drive (could not be read or written -36). My G4 (yes, I'm old school) is running 10.4.11.
This worked:
- Booted from external hard drive also running 10.4.11.
- Used Stellar Phoenix quick recovery to find and recovery the dmg to the external hard drive. All subsequent work was on that copy.
- Ran that drives OS versions built in Disk Utility.
- In Disk Utility, went to "File" menu upper left, chose "Open Disk Image".
- Mounted volume then appears as sub dir of dmg in left column, just as any other volume does from it's hard drive, except greyed out (ie: invisible).
- I use tinkertool to show all my invisible files, the mounted volume still did not appear on the desktop.
- Attempted repair using Disk Utility without success.
- BUT, launched DiskWarrior 4.0 and the mounted volume appeared there as well.
- Ran directory repair (plain, not scavenge) and at the "Report" stage chose "Preview".
- DiskWarrior reports new and old versions now appear on dektop.
- I couldn't see either on my desktop (I had too much garbage there & may have missed it), but opening a new Finder window did show the preview volume in left column.
- Grabbed my files off that preview volume and copied them to the external drive.
- Praised everything good and right in the universe.
- Allowed DiskWarrior to complete the rebuild, which was successful and the repaired volume mounted when finished.
Hope this helps.
Related videos on Youtube
user181903
I like my dynamic languages dynamic (Javascript, Python, Ruby) and my static types strong (Haskell). Though in a pinch I have been known to code in C, Java, and C#. Currently working for Google.
Updated on September 17, 2022Comments
-
user181903 almost 2 years
I downloaded a DMG of some commercial Mac software (CSSEdit) but I found that the DMG wouldn't mount. I tried another image from the same company, and then a number of images I had laying around from other software. About half of them mount and half don't. The error is always "no mountable file systems"
My google-foo reveals only some isolated incidents, and the repeated suggestion to reboot (I have, twice). The disk will not mount from Disk Utility either (nor does attempting to verify or repair it from there have any effect). I've also tried re-downloading this image several times using several different programs.
I recently updated to 10.5.8 in case that's relevant.
Here's a paste of what I get when I try to mount the DMG from the command line.
loki:Downloads peter$ hdiutil attach CSSEdit\ 2.6.dmg -Verbose Initializing… DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore DIFileEncodingInstantiatorProbe: interface 0, score -1000, CMacBinaryEncoding DIFileEncodingInstantiatorProbe: interface 1, score -1000, CAppleSingleEncoding DIFileEncodingInstantiatorProbe: interface 2, score -1000, CEncryptedEncoding DIFileEncodingInstantiatorProbe: nothing to select. DIFileEncodingInstantiatorProbe: interface 0, score 900, CUDIFEncoding DIFileEncodingInstantiatorProbe: selecting CUDIFEncoding DIFileEncodingNewWithBackingStore: CUDIFEncoding DIFileEncodingNewWithBackingStore: instantiator returned 0 DIFileEncodingInstantiatorProbe: interface 0, score -1000, CSegmentedNDIFEncoding DIFileEncodingInstantiatorProbe: interface 1, score -1000, CSegmentedUDIFEncoding DIFileEncodingInstantiatorProbe: interface 2, score -1000, CSegmentedUDIFRawEncoding DIFileEncodingInstantiatorProbe: nothing to select. DIDiskImageInstantiatorProbe: interface 0, score 0, CDARTDiskImage DIDiskImageInstantiatorProbe: interface 1, score 0, CDiskCopy42DiskImage DIDiskImageInstantiatorProbe: interface 2, score -1000, CNDIFDiskImage DIDiskImageInstantiatorProbe: interface 3, score 1000, CUDIFDiskImage CRawDiskImage: data fork length 0x000000000022EE83 (2289283) not a multiple of 512. DIDiskImageInstantiatorProbe: interface 5, score -100, CRawDiskImage DIDiskImageInstantiatorProbe: interface 6, score -100, CShadowedDiskImage DIDiskImageInstantiatorProbe: interface 7, score 0, CSparseDiskImage DIDiskImageInstantiatorProbe: interface 8, score 0, CSparseBundleDiskImage DIDiskImageInstantiatorProbe: interface 9, score -1000, CCFPlugInDiskImage DIDiskImageInstantiatorProbe: interface 10, score -100, CWrappedDiskImage DIDiskImageInstantiatorProbe: selecting CUDIFDiskImage DIDiskImageNewWithBackingStore: CUDIFDiskImage DIDiskImageNewWithBackingStore: instantiator returned 0 Verifying… Verification completed… Error 0 (Unknown error: 0). expected CRC32 $DA5349F2 Attaching… DI_kextWaitQuiet: about to call IOServiceWaitQuiet... DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000008 seconds 2009-08-06 21:48:36.456 diskimages-helper[1607:381b] -serveImage: attaching drive { autodiskmount = 1; "hdiagent-drive-identifier" = "921062E3-5965-477A-85C8-C93979468CF9"; "unmount-timeout" = 0; } 2009-08-06 21:48:36.462 diskimages-helper[1607:381b] -serveImage: connecting to myDrive 0x00004707 2009-08-06 21:48:36.463 diskimages-helper[1607:381b] -serveImage: register _readBuffer 0x0x468000 with myDrive 0x0x0 2009-08-06 21:48:36.463 diskimages-helper[1607:381b] -serveImage: activating drive port 0x0x4807 2009-08-06 21:48:36.463 diskimages-helper[1607:381b] _serveImage: set cache enabled=TRUE returned SUCCESS. 2009-08-06 21:48:36.464 diskimages-helper[1607:381b] _serveImage: set on IO thread=TRUE returned SUCCESS. 2009-08-06 21:48:36.464 diskimages-helper[1607:381b] -serveImage: starting server loop - myPort is 0x0x4807 Volume check completed… Mounting… ^[[Adiskimages-helper: DI_kextDriveGetRequest returned 0x00000025 (37) ((os/kern) object terminated). Attaching… Error 109 (no mountable file systems). Finishing… DIHLDiskImageAttach() returned 109 hdiutil: attach failed - no mountable file systems loki:Downloads peter$ hdiutil imageinfo CSSEdit\ 2.6.dmg -Verbose hdiutil: imageinfo: processing "CSSEdit 2.6.dmg" DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore DIFileEncodingInstantiatorProbe: interface 0, score -1000, CMacBinaryEncoding DIFileEncodingInstantiatorProbe: interface 1, score -1000, CAppleSingleEncoding DIFileEncodingInstantiatorProbe: interface 2, score -1000, CEncryptedEncoding DIFileEncodingInstantiatorProbe: nothing to select. DIFileEncodingInstantiatorProbe: interface 0, score 900, CUDIFEncoding DIFileEncodingInstantiatorProbe: selecting CUDIFEncoding DIFileEncodingNewWithBackingStore: CUDIFEncoding DIFileEncodingNewWithBackingStore: instantiator returned 0 DIFileEncodingInstantiatorProbe: interface 0, score -1000, CSegmentedNDIFEncoding DIFileEncodingInstantiatorProbe: interface 1, score -1000, CSegmentedUDIFEncoding DIFileEncodingInstantiatorProbe: interface 2, score -1000, CSegmentedUDIFRawEncoding DIFileEncodingInstantiatorProbe: nothing to select. DIDiskImageInstantiatorProbe: interface 0, score 0, CDARTDiskImage DIDiskImageInstantiatorProbe: interface 1, score 0, CDiskCopy42DiskImage DIDiskImageInstantiatorProbe: interface 2, score -1000, CNDIFDiskImage DIDiskImageInstantiatorProbe: interface 3, score 1000, CUDIFDiskImage CRawDiskImage: data fork length 0x000000000022EE83 (2289283) not a multiple of 512. DIDiskImageInstantiatorProbe: interface 5, score -100, CRawDiskImage DIDiskImageInstantiatorProbe: interface 6, score -100, CShadowedDiskImage DIDiskImageInstantiatorProbe: interface 7, score 0, CSparseDiskImage DIDiskImageInstantiatorProbe: interface 8, score 0, CSparseBundleDiskImage DIDiskImageInstantiatorProbe: interface 9, score -1000, CCFPlugInDiskImage DIDiskImageInstantiatorProbe: interface 10, score -100, CWrappedDiskImage DIDiskImageInstantiatorProbe: selecting CUDIFDiskImage DIDiskImageNewWithBackingStore: CUDIFDiskImage DIDiskImageNewWithBackingStore: instantiator returned 0 Format: UDZO Backing Store Information: Class Name: CUDIFEncoding Backing Store Information: Name: CSSEdit 2.6.dmg URL: file://localhost/Users/peter/Downloads/CSSEdit%202.6.dmg Class Name: CBSDBackingStore URL: file://localhost/Users/peter/Downloads/CSSEdit%202.6.dmg Name: CSSEdit 2.6.dmg Partition Information: 0: Checksum Value: $675BE18B Partition Number: 0 Checksum Type: CRC32 Name: gehele schijf (Apple_HFS : 0) Checksum Type: CRC32 partitions: appendable: true partition-scheme: none block-size: 512 burnable: true partitions: 0: partition-length: 18432 partition-synthesized: true partition-hint: Apple_HFS partition-name: whole disk partition-filesystems: HFS+: partition-start: 0 Properties: Partitioned: false Software License Agreement: false Compressed: true Kernel Compatible: true Encrypted: false Checksummed: true Checksum Value: $DA5349F2 Size Information: Total Bytes: 9437184 Compressed Bytes: 2289283 Compressed Ratio: 0.26906180417644582 CUDIFEncoding-bytes-wasted: 0 Sector Count: 18432 Total Non-Empty Bytes: 8507904 Total Empty Bytes: 929280 CUDIFEncoding-bytes-in-use: 2289283 CUDIFEncoding-bytes-total: 2289283 Class Name: CUDIFDiskImage Format Description: UDIF read-only compressed (zlib) udif-ordered-chunks: true Segments: 0: /Users/peter/Downloads/CSSEdit 2.6.dmg Resize limits (per hdiutil resize -limits): 16624 18432 18432 hdiutil: imageinfo: result: 0
-
Admin over 12 yearsAn update on this. I've replaced my hard drive with an SSD, cloning all files over. Using this new drive (but same OS, configs, etc) I downloaded Little Snitch fresh (trying both the stable and nightly versions) and got this error consistently. My problem is definitely in software.
-
Admin over 12 yearsI was using a .sparseimage disk image to hold a FCPX event and project. I was able to access it many times, but then all of a sudden, I got the 'no mountable file system' error. I tried rebooting and repairing permissions with no luck. I then tried simonair's advice and Terminal commands, and was able to mount the disk again. Whew. I definitely recommend trying his advice, as it really saved my bacon.
-
-
user181903 almost 15 yearsGood thought. I repaired permissions but I'm still getting the same error.
-
EvilChookie almost 15 yearsOK, check out the edit :)
-
user181903 almost 15 yearsI've re-downloaded the image about ten times through several different browsers. Thanks for the advice though.
-
user181903 almost 15 yearsYep, I've rebooted, still no dice.
-
Florian Pilz about 12 yearsThanks, helped me a lot to finally burn Ubuntu 12.04 onto a disk. :)
-
Florian Pilz about 12 yearsI just noticed, that it's not necessary to mount the disk to burn it.
hdiutil burn disk.iso
works perfectly fine, even if I can't mount the disk. -
Alexander Stolz almost 12 yearsAnd how do you convert the image to read/write?
-
Kjuly about 11 years@AlexanderStolz In "Disk Utility", select the xxx.dmg file, then click "Convert" on top menu, choose "read/write" instead of "compressed". I'm just converting it, not sure whether it will work or not..
-
FrancescoMM over 10 yearsGuys, you just saved my life, can I sort of +9999?
-
FrancescoMM over 10 yearsMy image was a backup of the disk made with DiskUtil...
-
Florian Wendelborn about 5 yearsI had this issue with an encrypted APFS sparse bundle on macOS Catalina (10.15). Converting was the only thing that worked. Thank you so much, all my documents/contracts were in there.
-
Dylan Glockler almost 3 yearsThis is helpful and seems to have worked but when I ls in terminal it's a bunch of character special files. I'm not sure what to do next and how to get the data restored. My instance is an old .dmg backup from a very old macbook pro.
-
Admin about 2 yearsHow does this differ from the accepted answer... apart from the fact that it has less details and isn't code formatted?