How to Convert DMG to ISO in Ubuntu

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
ISO files are usually burned to CD.
Image Credit: Hemera Technologies/Photos.com/Getty Images

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.

Advertisement

Step 1

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

Video of the Day

Step 2

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

Advertisement

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

Do not mount the file if asked.

Step 3

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

Advertisement

sudo mkdir /media/example

sudo modprobe hfsplus

Advertisement

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

Advertisement

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

Step 4

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

Advertisement

Step 5

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.

Video of the Day

Advertisement

Advertisement

references & resources