2014-10-29, 04:23
I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running.
I tried dd if=/dev/mmcblk0 of=/home/pi/networkdrive/my.img bs=1M
to copy the img to a nfs (the entire sdcard, both boot and the second partition). but after i dd the img to a new sdcard. it fails to boot up. What's the reason for its failure? anyway to fix?
I also find this link http://cagewebdev.com/index.php/raspberr...s-running/, it tells you to backup only partition 2 instead of entire disk. but how can I restore it to a rpi sdcard with two partitions?
I tried dd if=/dev/mmcblk0 of=/home/pi/networkdrive/my.img bs=1M
to copy the img to a nfs (the entire sdcard, both boot and the second partition). but after i dd the img to a new sdcard. it fails to boot up. What's the reason for its failure? anyway to fix?
I also find this link http://cagewebdev.com/index.php/raspberr...s-running/, it tells you to backup only partition 2 instead of entire disk. but how can I restore it to a rpi sdcard with two partitions?