Skip to content

Instantly share code, notes, and snippets.

@masbog
Last active December 13, 2015 22:39
Show Gist options
  • Save masbog/4985835 to your computer and use it in GitHub Desktop.
Save masbog/4985835 to your computer and use it in GitHub Desktop.
Create Bootable USB on Mac OS
Open a Terminal (under Utilities)
Run
masbogs-MacBook-Pro:$diskutil list
and determine the device node assigned to your flash media (e.g. /dev/disk2)
Run
masbogs-MacBook-Pro:$diskutil unmountDisk /dev/diskN
(replace N with the disk number from the last command; in the previous example, N would be 2)
Execute
masbogs-MacBook-Pro:$sudo dd if=/path/to/downloaded.iso of=/dev/diskN bs=1m
(replace /path/to/downloaded.iso with the path where the image file is located; for example, ./BT5R3-GNOME-32.iso)
Run
masbogs-MacBook-Pro:$diskutil eject /dev/diskN
and remove your flash media when the command completes (this can take a few hours on slower drives)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment