Skip to content

Instantly share code, notes, and snippets.

@atheken
Last active February 9, 2018 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atheken/94252e8f51f2162ba1ef695f4ec098df to your computer and use it in GitHub Desktop.
Save atheken/94252e8f51f2162ba1ef695f4ec098df to your computer and use it in GitHub Desktop.
Writing Images for Raspberry Pi SD Cards (mac os)
  1. Insert SD card to mac
  2. In disk utility, or from command line, unmount the SD card disk
  3. Format the disk as FAT
  4. Install ddrescue, a better version of dd: brew install ddrescue
  5. Locate the raw disk that is used for the SD card, on my laptop, it's /dev/rdisk2
  6. Write your boot image to the SD card: sudo ddrescue -v --force boot-image-of-choice.img /dev/rdisk2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment