Skip to content

Instantly share code, notes, and snippets.

@tjarksaul
Created February 24, 2015 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjarksaul/243cf3f263755eb33e98 to your computer and use it in GitHub Desktop.
Save tjarksaul/243cf3f263755eb33e98 to your computer and use it in GitHub Desktop.
Create bootable stick from .iso on OS X
# HOWTO: Make bootable USB stick from ISO on OSX
# determine /dev/diskN name of USB stick (e.g. /dev/disk2)
diskutil list
# convert image.iso to image.dmg (hdiutil adds .dmg automatically)
hdiutil convert -format UDRW -o image image.iso
# unmount (don't eject!) usb stick
diskutil unmountDisk /dev/disk2
# don't f*** up device name in next step or your disk will be toast
sudo dd if=image.dmg of=/dev/disk2 bs=10m
# unmount usb stick again and use in target system
diskutil unmountDisk /dev/disk2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment