Skip to content

Instantly share code, notes, and snippets.

@feryardiant
Created July 29, 2014 00:36
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save feryardiant/343906acbbfb62a6138e to your computer and use it in GitHub Desktop.
Save feryardiant/343906acbbfb62a6138e to your computer and use it in GitHub Desktop.
Create bootable USB from .DMG image file in Linux

Create bootable USB from .DMG image file in Linux

Courtesy: lindows2008@superuser.com

Install dmg2img

$ sudo apt-get install dmg2img

Convert DMG image file to ISO file

$ dmg2img -v -i /path/to/image_file.dmg -o /path/to/image_file.iso

Copy ISO image to USB

$ sdb is an example. In your case it might be different
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment