Instructions (five steps) to create a bootable usb stick (with iso file):
- Convert .iso in .img (if you have .iso file);
hdiutil convert -format UDRW -o /path/to/target.img /path/to/ubuntu.iso
- Run diskutil list to discover usb stick device number;
diskutil list
- Unmount usb stick
diskutil unmountDisk /dev/diskN
- 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
- Eject usb stick
diskutil eject /dev/diskN