How to make a bootable USB drive in OS X
by Peter.
This is for my own reference, since I keep referring to the Ubuntu guide.
- Optional: convert an ISO to an IMG
hdiutil convert image.iso -format UDRW -o image.img
- Find the USB stick drive name
diskutil list
- Unmount it:
diskutil unmountDisk /dev/diskN
- Use dd to actually write the image:
sudo dd if=image.img of=/dev/diskN bs=1m
- Eject the drive:
diskutil eject /dev/diskN