Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ettingshausen/8443e17c42cc801a07daf61453b9993b to your computer and use it in GitHub Desktop.
Save ettingshausen/8443e17c42cc801a07daf61453b9993b 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
Author

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