Converting Mac .DMG to .ISO

This weekend I needed to convert a DMG file to an ISO so I could burn a copy of the Mavericks installation to DVD from my PC. As the Mac desktop itself doesn’t provide any GUI to do so you have to use the Terminal for this. It’s easy enough, though to CLI-phobes need not panic.

Open a Terminal window and then change to the directory where your .DMG file is:

cd /pathto/yourDMG/

Then convert the file by doing:

hdiutil convert /pathto/yourDMG/originalfile.dmg -format UDTO -o /pathto/yourDMG/convertedfile.iso

This might take two or three minutes. Once it’s finished you may be given a file ending in .cdr. If this is the case just use Finder to change the name and remove the offending suffix.

If you’ve managed to do all this without issue you now have a standard .ISO file you can burn to CD or DVD with any normal CD Burning tool on Mac, Linux or Windows.

Thanks to MacWorld for this one!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: