Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create a USB drive from ISO image on Mac
# Convert ISO to IMG format
hdiutil convert -format UDRW -o iso-image.img iso-image.iso
# Find USB Drive number N
diskutil list
diskutil unmountDisk /dev/diskN
# Write image to drive /dev/diskN where N is the disk number
sudo dd if=iso-image.img.dmg of=/dev/diskN
# Eject the drive
diskutil eject /dev/diskN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.