Step 2 : Remember to replace the file name with the appropriate DMG file name. Step 1: In Mac, enter the following command: hdiutil burn ~/Path/To/DiskImageFile In Windows, it's the Command Prompt, which you can access by entering ‘cmd' in the run window. In a Mac, this would be done in Terminal, which you can access in Applications > Utilities > Terminal. The first method involves using command line executions to burn a DMG file to disk. Part 1: Burn DMG to CD/DVD on Mac via Command Line (Terminal)