Sonntag, 26. Februar 2017

MAC how to create a bootable USB Stick using ISO file

In case you have to create a bootable USB stick from ISO file

Check the name of your USB device:
diskutil list 


Convert myimage.iso to myimage.dmg  

hdiutil convert -format UDRW -o myimage.dmg myimage.iso 

Unmount (don't eject!) usb stick 
diskutil unmountDisk /dev/disk2 

sudo dd if=myimage.dmg of=/dev/disk2 bs=1m
 
diskutil unmountDisk /dev/disk2