How to burn a .dmg file to a DVD/CD?

18,440

Solution 1

Open a terminal (Ctrl+Alt+T) and run the following commands:

  1. Install dmg2img:

    sudo apt-get install dmg2img
    
  2. Browse the folder where the file is located:

    cd PATH/TO/THE/FILE
    
  3. Next convert the .dmg to .img:

    dmg2img NAMEOFTHEFILE.dmg NAMEOFTHEFILE.img
    
  4. Create a directory to mount the image:

    mkdir /media/image
    
  5. Run the following:

    sudo modprobe hfsplus
    
  6. Mount the image:

    sudo mount -t hfsplus -o loop NAMEOFTHEFILE.img
    

    /media/image

  7. Download Brasero:

    sudo apt-get install brasero
    
  8. Create the .iso with from the previously mounted .img following this guide.

  9. Open Brasero and burn the image (.iso).

This is quite simple and you should get no troubles at all. Good luck.

Solution 2

sudo apt-get install dmg2img

convert dmg to iso

sudo dmg2img yourdvd.dmg yourdvd.iso

install dvd writing software in terminal

sudo apt-get install wodim

list your dvd device and note it down

wodim --devices

write your iso to dvd

wodim dev=/dev/cdrw -v -data yourdvd.iso

Solution 3

You can convert any dmg to iso, according to this tutorial.

After that, you can handle the file like you are used to.

Share:
18,440

Related videos on Youtube

user240623
Author by

user240623

Updated on September 18, 2022

Comments

  • user240623
    user240623 almost 2 years

    I have downloaded Mac.OSX.Mountain.Lion.v10.8.3 and I have never burned a dmg file. How to burn this operating system in a dvd?

    • Lynob
      Lynob over 10 years
      it's 5gb, you can't burn it to dvd, you have to use usb, unless you have some special dvd, what is the size of your dvd?
    • user240623
      user240623 over 10 years
      hey i have double dvd of 8.5gb
    • davidbaumann
      davidbaumann over 8 years
      Can you select the solution?
  • Nonny Moose
    Nonny Moose about 7 years
    Command-line method for burning to disc here
  • Aaron Franke
    Aaron Franke almost 6 years
    $ wodim --devices wodim: No such file or directory. Cannot open SCSI driver! For possible targets try 'wodim --devices'
  • Aaron Franke
    Aaron Franke almost 6 years
    The ISO file that came out of my 4.7 GB DMG is too big to fit on a DVD, it's 5.1 GB now.