Skip to content

Instantly share code, notes, and snippets.

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 lacymorrow/370564117deca0c0a881d609ff46f8d6 to your computer and use it in GitHub Desktop.
Save lacymorrow/370564117deca0c0a881d609ff46f8d6 to your computer and use it in GitHub Desktop.
Backup/Restore Raspberry Pi SD Card in Mac OS
# http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi
diskutil list
# backup:
sudo dd if=/dev/disk2 of=raspberrypi20151118.img bs=1m
# restore:
dd if=sd.img of=/dev/sdb bs=4M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment