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?
You can use
hdiutil to convert from
$ hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
.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
$ hdiutil makehybrid -iso -joliet -o [filename].iso [filename].cdr
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.
Would be the same:
hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
hdiutil makehybrid -iso -joliet -o output_file.iso file_to_convert.dmg
You must mount the cdr people.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.