Last active
December 28, 2015 14:08
-
-
Save billautomata/ba14e61f197da3567ef8 to your computer and use it in GitHub Desktop.
write file to usb drive and boot it, osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/usr/bin/env bash | |
sudo diskutil list | |
sudo diskutil unmountDevice /dev/disk3 # could be disk 2 or disk 4, check the list | |
sudo dd if=file.iso of=/dev/rdisk3 bs=16m # again, could be disk2 or disk4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment