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

Windows XP installation, no previous version of Windows NT - Super User

permissions - Mount is denied because the NTFS volume is already exclusively opened - Ask Ubuntu

software installation - How to install linux driver for a lb-link wireless usb adapter - Ask Ubuntu