How to create Ubuntu startup disk on Mac

  1. Create dmg file from iso
    hdiutil convert -format UDRW -o /tmp/ubuntu-14.04.1-server-amd64.img /Users/kelvin/Downloads/ubuntu-14.04.1-server-amd64.iso

  2. amount the disk
    diskutil unmountDisk /dev/disk2

  3. copy the disk
    sudo dd if=/tmp/ubuntu-14.04.1-server-amd64.img.dmg of=/dev/rdisk2 bs=1m

  4. Reject the disk
    diskutil eject /dev/disk2