Skip to content

Instantly share code, notes, and snippets.

@wuqian
Created November 11, 2012 03:14
Show Gist options
  • Save wuqian/4053540 to your computer and use it in GitHub Desktop.
Save wuqian/4053540 to your computer and use it in GitHub Desktop.
hdiutil convert -format UDRW -o <output-file> <input-iso-file>
diskutil list /dev/disk
diskutil unmountDisk /dev/diskN
dd if=<dmg-file> of=/dev/rdisk1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment