Skip to content

Instantly share code, notes, and snippets.

@ihgrant
Created November 20, 2017 15:31
Show Gist options
  • Save ihgrant/3aed2ba14ae457816b56cef08ef37b1f to your computer and use it in GitHub Desktop.
Save ihgrant/3aed2ba14ae457816b56cef08ef37b1f to your computer and use it in GitHub Desktop.
making a linux usb stick on macos
  • download the iso
  • plug in usb
  • find out the device name: diskutil ls. It'll be something like disk2. subsequent devices e.g. disk2s1 are partitions of that device, one of which shows up in /Volumes as an external drive.
  • unmount the partition you see in /Volumes (eject or diskutil unmount <path to partition>). the path to the partition will be like /dev/disk2s1.
  • write the iso image to the usb: sudo dd if=<path to iso image> of=<path to device> bs=1048576. the path to the device will be like /dev/disk2.

reference: https://community.linuxmint.com/tutorial/view/744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment