Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to clone micro SD card, using Windows or Linux OS. SD card should be cloned as a whole volume, and not as partition. It may contains several partitions, some of them cannot be recognized by Windows/Linux. Basically, I want to make SD card image file, and then to insert another SD card media and copy this file to it, overriding everything that this media contains. How can I do this?

share|improve this question
add comment

3 Answers 3

up vote 2 down vote accepted

On Linux you can use dd to do that.

dd if=/dev/sdcard1 of=/dev/sdcard2 where if is the origin and of the destination SDs.

or if you want to take the image first and copy it to 2nd SD after:

dd if=/dev/sdcard1 of=~/sdimage 
dd if=~/sdimage of=/dev/sdcard2
share|improve this answer
    
Thanks. This is exactly what I am trying to do, but from some reason the second stage (image file to SD card) hangs after some time. –  Alex Farber Dec 11 '12 at 15:11
    
Are the SDs the same size? if not, the 2nd needs to be larger than 1st one. If not and SD1 not 100% used, you can try resizing the filesystems and partitions there but that is another topic :) –  laurent Dec 11 '12 at 15:46
1  
Finally I managed to do this with dd, but it is necessary to unmount all SD card partitions before running dd. –  Alex Farber Dec 13 '12 at 6:04
add comment

You could use Clonezilla, which is a small Linux live distro which allows you to create drive images or to exactly copy one drive to another.

share|improve this answer
    
Thanks, I will try this. –  Alex Farber Dec 11 '12 at 15:13
add comment

I have used WinImage to do this in the past in Windows.

share|improve this answer
    
Thanks. Can this program clone the whole media, and not only partition? Is this program free? –  Alex Farber Dec 11 '12 at 15:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.