clone - SD card cloning using the dd command - Ask Ubuntu


i trying clone sd card may contain number of partitions, of ubuntu cannot recognize. generally, want clone whole volume, not partition. so, mount sd card , see in log viewer:

kernel: [  262.025221]  sdc: sdc1 sdc2  alex@u120432:~$ ls /dev/sdc* /dev/sdc  /dev/sdc1  /dev/sdc2 

since want copy whole disk, execute:

dd if=/dev/sdc of=sdimage.img bs=4m 

file sdimage.img, 7.9 gb (7,944,011,776 bytes) created (sd card 8 gb). mount sd card , execute:

dd if=sdimage.img of=/dev/sdc bs=4m 

the problem second dd command hangs on stage, , never succeeds. after this, cannot reboot or shut down computer, , need switch power off.

is correct approach? maybe there way clone sd card?

os: ubuntu 12.04 (precise pangolin), 32 bit.

you should not using dd on mounted devices. unmount partitions first, command should work.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User