jessyhoule

Create bootable USB from ISO

Oct 6th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. # iso is the iso image and the below assumes operating in the directory of the .iso
  2. * diskN <-- where N is the drive number provided by diskutil list
  3.  
  4. hdiutil convert -format UDRW -o win7.img win7.iso
  5. diskutil list
  6. diskutil unmountDisk /dev/diskN
  7. sudo dd if=win7.img.dmg of=/dev/rdiskN bs=1m
Advertisement
Add Comment
Please, Sign In to add comment