Easily convert DMG images to ISO
If you’ve ever wanted to turn a DMG file into an ISO file, look no further. Perhaps your Mac doesn’t have a writable media drive, or it’s not up to speed, or the multitude of other reasons you’d want to burn an ISO from a PC rather than a DMG on your Mac. Forget downloading the shareware apps that promise to convert DMG files to ISO, you can do it right from Mac OS X’s command line, for free, using the hdiutil command.
hdiutil convert imagefile.dmg -format UDTO -o imagefile.iso
This will actually create a file called imagefile.iso.cdr in the current directory, but you’ll want to change that to just .iso, so type:
mv imagefile.iso.cdr imagefile.iso
That’s all there is to it, now your DMG image file can be burned on any PC with the proper hardware.

just burn it on your mac, every new mac comes with a burner anyway
you can burn iso on mac too
except for macbook air of course
@anon:
“just burn it on your mac, every new mac comes with a burner anyway”
What percentage of Mac users do you think have new Macs?
@anon, not all new macs have an dvd burner, and not all dvd burners have dual layer
Does that work with a boot mac CD?
Awesome. This worked perfectly on MacOS 10.5 to convert a dmg to an ISO that would mount with Virtualbox. Great tip. Burning to DVD and then using that would have been a waste.
Awesome. This worked perfectly on MacOS 10.5 to convert a dmg to an ISO that would mount with Virtualbox. Great tip. Burning to DVD and then using that would have been a waste.
virtual box can mount DMG files just fine, thats how you can install OSX from a .dmg
This didn’t work when trying to c onvert a 8gig DVD-dl image. Said “hdiutil: convert failed – image/device is too large”
I have a copy of Snow Leopard 10.6 but cannot burn it on my iMac since I have no DVD DL burner for starters.
With my WIN XP I tried burning the dmg file with the software TransMac. Doesn´t seem to work though cus my mac just tries to read the disc for then to finally spit it out.
I always use Verbatim DVD DL so the media is not the faulty one
—–
While I was typing this message I tried renaming my uncompressed dmg file to iso and burn it with Nero.
So now I just tried it on my mac and it works!
…but I couldn´t run the install , the message said “cannot be installed on this machine”.
Perhaps cus I only have 256 MB in it and it requires 2GB.
I´ll have to buy more and then I hope it works
Great Idea… work fine to me.
[...] http://osxdaily.com/2007/03/28/easily-convert-dmg-images-to-iso/ [...]
Am I missing something? I use the command line specified to enable this and it tells me no such file. I use the name of my Snow Leopard .dmg image instead of imagefile.dmg and it tells me the same thing. What am I doing wrong?
are you putting directory path to where the .dmg file is? ex: Users/mac/Desktop/imagefile.dmg
and don’t forget ‘imagefile’ should be replaced with the actual name of the file… for example:
‘classic_mac_pack.dmg’ would be converted to ‘classic_mac_pack.iso’
amazing!
another reason the love the mac
I never realized .cdr was equivalent to .iso. In that case, you can actually use Disk Utility to convert the image (just use the ‘convert’ button) to a “CD/DVD Master”. That will append .cdr to the filename – simply rename it to .iso and you’re good to go.