Friday, October 18, 2013

Clone your Raspberry Pi SD card



Once you have your Raspberry Pi setup just the way you like, it would be a shame to lose all that work because the SD card became corrupted.

This is how to make backup copy of the entire SD card on your computer.

(Note: This is the followup to my other post: Create SD card for Raspberry Pi using command 'dd'
  • Shut down your RPi
  • Remove the SD card and insert it into your computer
  • Unmount all partitions using: 
sudo umount /dev/sdb1
sudo umount /dev/sdb2
  • Copy the SD card into an image file using:  
sudo dd bs=4M of=<your_image filename.img> if=/dev/sdb

  • Wait about 10 minutes while it copies
  • Re-insert the card in your Raspberry Pi knowing your data is backed up

Check out my YouTube channel:  www.youtube.com/KedarWarriner

No comments:

Post a Comment