12/30/2015 - 2:06 PM

Bootable USB stick using Mac

Bootable USB stick using Mac

Instructions (five steps) to create a bootable usb stick (with iso file):

  1. Convert .iso in .img (if you have .iso file);

hdiutil convert -format UDRW -o /path/to/target.img /path/to/ubuntu.iso

  1. Run diskutil list to discover usb stick device number;

diskutil list

  1. Unmount usb stick

diskutil unmountDisk /dev/diskN

  1. Copy .img file in usb stick:

sudo dd if=/path/to/target.img of=/dev/rdiskN bs=1m

Progress can be checked using CTRL+T

  1. Eject usb stick

diskutil eject /dev/diskN