- Connect USB drive to machine
- Download ISO file
- Open terminal
- Format USB using following commands:
diskutil list
diskutil eraseDisk MS-DOS <name> GPT <disk>
Example: diskutil eraseDisk MS-DOS "WIN08" GPT disk3
- Mount the ISO file by running the following:
hdiutil mount <filepath>
Example: hdiutil mount ~/Downloads/Win8.1_x64.iso
- Once mounted the new volume will be displayed in terminal
- Copy the content of mounted ISO volume to formatted USB drive by running the following:
cp -rp <mounted_volume_path>/* <formatted_usb_path>
Example: cp -rp /Volumes/IR5_CCSA_X64FRE/* /Volumes/WIN08
- Once files are copied successfully, unmount the ISO volume by running:
hdiutil unmount <mounted_volume_path>
Example: hdiutil unmount /Volumes/IR5_CCSA_X64FRE
- Eject the USB drive from machine
- Ready for boot