How to Burn DMG on Ubuntu

Written by peter waters
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Burn DMG on Ubuntu
DMG files need converting by Ubuntu software before they can be burnt to disk. (cd-r image by matteo NATALE from

DMG files are primarily used by Apple's OSX operating system. They are unlikely to be read by a program in either Ubuntu or Windows and need converting to a more flexible format to be burnt to a CD. One such flexible format is the IMG format. Use the Ubuntu tool DMG2IMG to convert DMG files to the IMG format.

Skill level:

Things you need

  • An Internet connection
  • CD writing software
  • A blank rewritable CD

Show MoreHide


  1. 1

    Open your repositories and download the tool called DMG2IMG, or open your terminal (click "System" and then "Terminal"), type "sudo apt-get install dmg2img" without the quotation marks and press "Enter."

  2. 2

    Open your terminal and enter "dmg2img /example/example.dmg /example/example.img" where /example/example.dmg is the directory in which the .dmg file is located and /example/example.img is the path where you would like the .img file to be created. Press "Enter." Ignore the instructions for mounting that terminal gives at this point.

  3. 3

    Enter "sudo mkdir /media/example" and press "Return." Type "sudo modprobe hfsplus" and press "Enter." Then, type "sudo mount -t hfsplus -o loop example.img /media/example" and press "Enter." Replace "example" with the file you wish to burn. Do not type the quotation marks.

  4. 4

    Open you CD writing software (Brasero comes as part of the distribution) or download an alternative from the repositories (such as Gnomebaker or K3b) by opening a terminal window and typing "sudo apt-get install XXXX," without the quotation marks and replacing XXXX with name of the software you wish to install.

  5. 5

    Place your blank CD in your CD drive.

  6. 6

    Open the software that you have decided to use and click on "New project" or "New Disk." Click on "Browse" and select the .IMG file in the /media directory. Click on "Burn" to create the CD.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.