Created
November 5, 2014 12:34
-
-
Save rwenz3l/9d3183d17b4fddfb6ac3 to your computer and use it in GitHub Desktop.
Creating Windows Boot Stick on Mac OS X
This file contains 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
read -p "Windows_ISO_Path = " winPath | |
diskutil list | less | |
read -p "Disk_N = " disk | |
clear | |
umount /dev/${disk} | |
sudo diskutil eraseDisk FAT32 "WINDOWS7" MBRFormat /dev/${disk} | |
disk="${disk}s1" | |
sudo dd bs=1m if=${winPath} of=/dev/${disk} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment