How can I convert a DMG to ISO on Mac OS X (preferably for free)?
I have medical records within Windows software within a DMG disk image. How can I convert the DMG to an ISO format on Mac OS X? Is it possible to do it within Disk Utility or CLI easily, or do I need an external utility?
Solution 1:
You can use hdiutil
to convert from .dmg
to .iso
directly:
$ hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
Renaming .cdr
to .iso
is bad advice! An .iso
has a slightly different format that allows PC users to play the DVD as well. A renamed file will work on macOS, but NOT on a PC.
If you have a .cdr
and want to convert it to an .iso
, execute:
$ hdiutil makehybrid -iso -joliet -o [filename].iso [filename].cdr
Solution 2:
Yes, Disk Utility can do this. Use Convert
then select your dmg
file. In the Save As
dialog that follows, select DVD/CD master
. Disk Utility will insist on saving the new ISO as a .cdr
file, but it is really an ISO. You can rename it to .iso
in the Finder, if you like.
At http://osxdaily.com/2012/07/18/convert-dmg-to-cdr-or-iso-with-disk-utility/ there are screen shots that walk through this process.