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
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."
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.
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.
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.
Place your blank CD in your CD drive.
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.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for