Skip to content

Instantly share code, notes, and snippets.

@joshbeard
Last active August 29, 2015 14:15
Show Gist options
  • Save joshbeard/7224c441cf8b8e5e3a04 to your computer and use it in GitHub Desktop.
Save joshbeard/7224c441cf8b8e5e3a04 to your computer and use it in GitHub Desktop.
Make bootable USB from ISO on Mac

1. Convert the ISO:

hdiutil convert -format UDRW -o target.img source.iso

Note: It will add a dmg file extension to it, but it's alright.

2. Get a list of mounted devices. Specifically, the USB media:

diskutil list

3. Unmount the USB disk:

diskutil unmountDisk /dev/diskX

4. Write the converted image to the USB media:

sudo dd if=target.img.dmg of=/dev/rdiskX bs=1m

Using rdisk is faster than disk

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