Skip to content

Instantly share code, notes, and snippets.

@sinewalker
Last active July 12, 2019 04:58
Show Gist options
  • Save sinewalker/e8aa490aafeff5cfc228566ee382612a to your computer and use it in GitHub Desktop.
Save sinewalker/e8aa490aafeff5cfc228566ee382612a to your computer and use it in GitHub Desktop.
Make a bootable USB from an ISO image, on macOS

Making a bootable USB on a Mac

  1. hdiutil convert -format UDRW -o bootimage.img sourceimage.iso
  2. diskutil list (look for the volume that's the same size as your USB device. It'll be "external".)
  3. diskutil partitionDisk /dev/diskX 1 "Free Space" "unused" "100%" (use diskX from the list!)
  4. sudo dd if=bootimage.img of=/dev/diskX bs=1m

original source

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