Skip to content

Instantly share code, notes, and snippets.

@andrusha
Last active October 9, 2016 22:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrusha/10843465 to your computer and use it in GitHub Desktop.
Save andrusha/10843465 to your computer and use it in GitHub Desktop.
Create bootable USB from ISO image on Mac
hdiutil convert -format UDRW -o destination_file.img source_file.iso
# Or re-partition it with Disk Utility with 1 Free Space Partition
diskutil partitionDisk /dev/disk2 1 "Free Space" "unused" "100%"
# Or copy the image through Disk Utility in Restore menu
dd if=destination_file.img.dmg of=/dev/disk2 bs=1m
# Or eject manually
diskutil eject /dev/disk2
Copy link

ghost commented Sep 22, 2015

dd: /dev/disk3: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment