User Tools

Site Tools



DMG Files

DMG files are Apple's equivalent of ISO's. Wikipedia explains at

Burn DMG to USB Drive

If you have a Mac, Disk Utilities will do this for you. For Windows and Linux, you need some additional software. I have not verified the Windows tool, DMG Editor, but an article I read says it is ok. The following is taken from

From Linux, however, you can do the following. You must be the root user.

  1. Install dmg2img
    apt install dmg2img
  2. Convert dmg file to iso
    dmg2img filename.dmg
  3. Determine your usb drive and unmount if necessary
  4. Copy the .img file created to your usb drive (assumes sdh from previous step)
    dd if=./filename.img of=/dev/sdh bs=4M
  5. Your machine will go into lala land, with no visible indication anything is happening. Just be patient. When done, be sure all data is written with
  6. Remove USB Drive from computer after you get command line back

If the DMG was bootable, you now have a bootable USB.

unix/apple_osx/dmg.txt · Last modified: 2020/10/10 22:22 by rodolico