How to Convert DMG to ISO in Ubuntu

Ubuntu, a free Linux-based operating system, gives users the flexibility to interact directly with the operating system using Terminal. DMG files are the disc image files most commonly used with the Mac operating system, while ISO files are the most common disc image files used in Linux and Windows. DMG files cannot be read in Ubuntu, but they can be converted into ISO files using Terminal and the bundled disc burning utility Brasero.

23870961
ISO files are usually burned to CD.
credit: Hemera Technologies/Photos.com/Getty Images

Step

Click "Applications," select "Accessories" and click "Terminal.”

Step

Entering the following command into the Terminal window, replacing the word “example” with the name of the DMG file:

Step

dmg2img /path/to/example.dmg /path/to/example.img

Step

Do not mount the file if asked.

Step

Type the following commands into the Terminal window to mount the IMG file, and press "Enter" after each one:

Step

sudo mkdir /media/example

Step

sudo modprobe hfsplus

Step

sudo mount -t hfsplus -o loop example.img /media/example

Step

Replace the word "example" in the commands with the name of your file.

Step

Click "Applications," select "Sound & Video" and click "Brasero.” Select “Data Disk” from the window. In the View menu, select “Enable Side Panel.”

Step

Locating the name of the file in the side panel of Brasero and press “Burn.” Select “Image File” as the type of output. Press “Burn” again to create the ISO file.