Skip to content

Instantly share code, notes, and snippets.

@corysolovewicz
Created August 21, 2019 17:27
Show Gist options
  • Save corysolovewicz/47f4c49ff250fa80d14a37efd7d2262b to your computer and use it in GitHub Desktop.
Save corysolovewicz/47f4c49ff250fa80d14a37efd7d2262b to your computer and use it in GitHub Desktop.
Converting DMG to ISO or CDR to ISO on macOS
You can use hdiutil to convert from .dmg to .iso directly:

hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg

Renaming .cdr to .iso is bad advice! An .iso has a slightly different format that allows PC users to play the DVD as well. A renamed file will work on macOS, but NOT on a PC.

If you have a .cdr and want to convert it to an .iso, execute:

hdiutil makehybrid -iso -joliet -o [filename].iso [filename].cdr

@ettingshausen
Copy link

Can't loaded on Windows 11.

hdiutil convert /path/imagefile.cdr -format UDTO -o /path/convertedimage.iso

Convert DMG to CDR or ISO with Disk Utility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment