[nzlug] Creating OSX .dmg files in Linux

Jim Cheetham jim at gonzul.net
Fri Jun 29 09:36:01 NZST 2007


I think DMG files are just ISO images ... perhaps a Mac will open an
ordinary ISO without complaint?

Googling doesn't help much. There are plenty of DMG to ISO converters;
indeed, DMG appears to be a special case of ISO with additional compression
and resource forks like icons ...

If you had access to an OS X commandline, hdiutil would do it for you ...
here's an example script for a mac ...
http://lists.apple.com/archives/java-dev/2005/Aug/msg00191.html

The lack of data on the web suggests to me that a good option would be to
run a copy of Darwin (not sure what distro currently exists that's Free
though) within a VM of some sort, and access hdiutil from there.

-jim


More information about the NZLUG mailing list