You may run across the need to convert a .dmg to a .iso file and here is the quick and easy way to do it.
hdiutil comes with Mac OS X and will do that for you. Go to terminal and type
hdiutil convert imagefile.dmg -format UDTO -o imagefile.iso
by default the new image is going to have a .cdr after it so just rename it by typing
mv imagefile.iso.cdr imagefile.isoShare this article