clone copy of sd card by using partclone
#1
Wink 
Hi all

sd card is /dev/sdc Exclamation .

1) backup

dd if=/dev/sdc of=~/Pine-mate-MBR.img bs=512 count=10000

partclone.vfat -c -s     /dev/sdc1          -o    ~/Pine-mate-sdx1of3.pcl

fsck /dev/sdc2

partclone.ext4 -c -s     /dev/sdc2          -o    ~/Pine-mate-sdx2of3.pcl



and then i put anothe sd card  into USB . Exclamation


2)restore

dd if=/root/Pine-mate-MBR.img of=/dev/sdc bs=512

partclone.vfat -r -s /root/Pine-mate-sdx1of3.pcl -o /dev/sdc1

partclone.ext4 -r -s /root/Pine-mate-sdx2of3.pcl -o /dev/sdc2

mkswap /dev/sdc3

---------------------------
all is done . Big Grin

this is much faster by using dd . Heart
----------
regards
  Reply


Messages In This Thread
clone copy of sd card by using partclone - by hatahata - 11-03-2016, 08:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  resize root partition to max available space SD card can provide bilylilyli 16 20,393 11-18-2016, 07:10 PM
Last Post: pfeerick
Sad How to resize the root partition in order to fully utilize the SD Card MicroDiery 5 7,414 05-24-2016, 05:48 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)