Convert .dmg file on a MAC to .iso

How to convert .dmg (disk image) file on a MAC to .iso so that it can be used on a Windows or Linux box?

To convert the .DMG file to an ISO image, type the following command at your terminal window in MAC:

Replace “/path/to/source.dmg” with the path and name of the existing .DMG file, and replace /path/to/target.iso with the desired path and name for the converted image.

The process above creates a file at the target location specified called “target.iso.cdr”. Rename this to .iso (just remove the trailing .cdr) and you should have a working .iso!

You can use this ISO image to burn in any CD/DVD burning software on Windows or Linux.