Back Up/Restore Raspberry Pi Image
Once you have spend some time installing and customizing your image and your happy that everything works as you want it to , it's time to create a back up of your image before you start messing about with the Pi.
Step1
- To create the back up run the Discks utility on Ubuntu laptop
- Select the first partition on the SD card and create an image of the boot partition
- Next do the same for the root partition and keep them in the same back up folder as the original image
Step 2
Now if you happen to break your image simply insert the SD card back in your laptop
and execute the following command in your terminal
- # sudo dd bs=1M if=raspbian.img of=/dev/mmcblk0
- This will create brand new image on you SD card
Step 3
- Open the Discs utility on your Ubuntu laptop and select the SD card
- Repeat the steps above but instead of selecting Create image select your root partition and run Restore Image
You are ready to go again!!
No comments:
Post a Comment