Skip to content

Instantly share code, notes, and snippets.

@emjayoh
Created February 10, 2020 18:42
Show Gist options
  • Save emjayoh/f080d8cacf6e17be7c5a14b5c3d58a7e to your computer and use it in GitHub Desktop.
Save emjayoh/f080d8cacf6e17be7c5a14b5c3d58a7e to your computer and use it in GitHub Desktop.
Bootable USB drive (OSX)
# convert iso to img
hdiutil convert -format UDRW -o <~/Path-to-IMG-file> <~/Path-to-ISO-file>
# find name
diskutil list
# unmount
diskutil unmountDisk /dev/disk<N>
# dd it, be very careful!
sudo dd if=<filepathname.dmg> of=/dev/rdisk<N> bs=1m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment