So I don't have a CD Burner on my Mac, and I want to be able to burn random CD images (in DMG format) in windows. Here's how:
In MacOSX, Convert the cd cdimage.dmg into a "DVD/CD-R master for export". Looking in the manpage for hdiutil (available on all MacOSX boxes), the format is "UDTO". Thus, we run the following command:
hdiutil convert cdimage.dmg -format UDTO -o cdimage.iso
This takes my cdimage.dmg file (that may be compressed to 400MB, for example), and converts it to a CD-R master (678424576 bytes - exactly the size of a CD). The file ends up as "cdimage.iso.cdr". Just rename it to cdimage.iso (even though I dont think it's really ISO...hmm) copy it to a windows box, and use Nero to burn it.
I don't know how to do this if you want to take the Mac out of the equation. I'm not sure you can, since dmg's have a proprietary format. I originally speculated that dmg was a wrapper aroung a cd master, but then I remembered the contents of the cdimage.dmg are compressed. I also don't know if this cdimage.iso file can be burned in linux, I haven't tried that yet.
Actually, I'm pretty sure this file is not ISO, because I can't mount it as a cd image (with an iso9660 filesystem) in linux. If there's a more appropriate file extension, I'd like to know. Please email me!