Convert Mac OSX DMG CD or DVD image to ISO format to burn on Windows
If you download a DMG file and need to write it to a CD or DVD but don’t have the necessary drive on your Mac, you can convert it to the Window’s friendly ISO format using the hdiutil command.
The hdiutil command is only available in Mac OSX so these steps must be performed on the Mac side, not on a Windows host.
Open a terminal window (Finder -> Applications -> Utilities -> Terminal)Given the disk image image.dmg in the current directory, it can be converted with:
hdiutil convert image.dmg -format UDTO -o image.iso
This will actually create a file called image.iso.cdr in the current directory (even though we asked for the output to be image.iso). This file can be safely renamed to image.iso, copied to a Windows server, and burned with your CD/DVD burner of choice.
The Conversation
Follow the reactions below and share your own thoughts.
January 28, 2010 at 12:39 pm, Anonymous said:
Very cool command! Thank you for sharing this!
July 18, 2010 at 11:12 am, Guest said:
ok