wxHexEditor icon indicating copy to clipboard operation
wxHexEditor copied to clipboard

Mac OS X 10.8.5 won't open wxHexEditor-v0.24-MacIntel64Bit.dmg image file

Open follower opened this issue 7 years ago • 3 comments

Finder displays an error message about no mountable file systems found.

/var/log/system.log reports:

diskarbitrationd[16]: unable to mount /dev/disk1s2 (status code 0x00000001).
kernel[0]: hfs: early journal init: volume on disk1s2 is read-only and journal is dirty.  Can not mount volume.
kernel[0]: hfs_mountfs: hfs_early_journal_init failed, erroring out 
kernel[0]: hfs_mount: hfs_mountfs returned 22

I tried "converting" the image using Disk Utility but it didn't seem to make any difference.

Dunno if this could be related to #74.

follower avatar Jan 01 '18 11:01 follower

Hi, dmg is built on 10.13. I don't know why you get journal is dirty error. Will check this. Edit: I checked and found NO ISSUE on the DMG file using 10.13. I believe that, there has to be some corruption on your downloaded file. Can you check it? Thanks.

EUA avatar Jan 01 '18 16:01 EUA

I have just downloaded https://ayera.dl.sourceforge.net/project/wxhexeditor/wxHexEditor/v0.24%20Beta/wxHexEditor-v0.24-MacIntel64Bit.dmg and it downloads with no error but when I try to open it the error message says "The following disk image could not be opened: Image=wxHexEditor-v0.24-MacIntel64Bit.dmg Reason=No mountable file systems" I have tried it three separate times with the same results. I am running 10.8.5

jerryjeremiah avatar Jan 30 '18 09:01 jerryjeremiah

I've discovered the underlying reason for this error is trying to open an APFS format .dmg (instead of e.g. HFS+ format) on an older version of Mac OS X. I think it's any version pre-10.12.6?

wxhexeditor-dmg-screenshot

On 10.9.5 the error message is no mountable file systems which is different to the original message I saw on 10.8.5.

Cause

This will have started to occur because hdiutil apparently bases the format of the .dmg files it creates on the format of the source drive and OS upgrades may have transparently changed the format of the source drive from HFS+ to APFS.

Workaround

I've discovered a tool (https://github.com/cugu/afro) that will (on 10.9.5 at least) extract files from a .dmg once the file has been converted (using for example "Disk Utility") to an un-compressed read/write format image.

Once the files have been extracted the application binary needs to be made executable with, e.g. chmod u+x wxHexEditor-v0.24.app/Contents/MacOS/wxHexEditor.

While it's never a good idea to download binaries from random people on the internet, attached is a zip of the files I extracted with the binary made executable in case it's helpful for people on earlier versions until a new HFS+ .dmg is released. :)

wxHexEditor-v0.24-modified.app.zip

follower avatar Dec 06 '18 07:12 follower