Last active
August 12, 2018 05:27
-
-
Save wavecos/244f43ab9eb6a7029a99 to your computer and use it in GitHub Desktop.
Backup/Restore Raspberry Pi SD Card in Mac OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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