Writing an ISO to a USB drive on MacOS

Putting this here for safe keeping because the original article was deleted, and I don’t do this often enough to remember it always:

  1. Open the Terminal Application.
  2. Type command to convert the .iso file to .img using the convert option.
  3. Insert your flash media.
  4. Type command to determine the device node assigned to your flash media (e.g. /dev/disk2).
  5. Type command to unmount the flash (replace N with the disk number from the last command; in the previous example, N would be 2).
  6. Type DD command (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img). Prepend the device path with “r” for the raw path which is much faster than without the “r”.

    Note: your file might also be called downloaded.img.dmg. That’s okay.
  7. Type command to eject the flash drive.
  8. Restart your Mac and press alt/option key while the Mac is restarting to choose the USB stick as the boot disk.