Write an ISO to a bootable USB drive (OS X)


.. currently using OS X 10.8.2 and wish to create a bootable USB drive from a Linux ISO [Ubuntu, CentOS, …]

From Terminal (command line)

  1. hdiutil convert -format UDRW -o ~/[path]/destinationISO.img ~/[path]/sourceISO.iso
    1. sourceISO = ISO you downloaded
    2. destinationISO = the new ISO we’re converting
  2. mount
    1. where’s USB drive mounted? Example: /dev/disk3
  3. sudo diskutil umount /dev/disk3s2
    1. don’t eject, just unmount!
  4. sudo dd if=/[path]/destinationISO.img.dmg of=/dev/disk3 bs=1m
  5. sudo diskutil eject /dev/disk3

C’est tout.