8
2
I'm using Ubuntu 12.04. I have an old 4GB SD card, and have just bought a new 16GB SD card. I would like to copy everything from my old 4GB SD card onto the new 16GB SD card. I was afraid that the usual copy-and-paste trick would miss out something, so I wanted to clone the old 4GB SD card onto the 16GB SD card. I used the dd
command in a shell, following instructions in this link.
This worked with one small caveat. The new SD card now appeared to be 4GB. I later found out this is because the primary partition on the 16GB SD card has now shrunk to 4GB. I have solved this problem, and I think I understand it. However, my question now is, how do I clone my old 4GB SD card onto my new 16GB SD card without making the primary partition on the 16GB SD card shrink to 4GB?
Maybe this is a problem with exfat but for me this also didn't work :/ – codewing – 2019-12-25T00:39:47.980
For exfat this does not work. – Rainer Glüge – 2020-01-15T22:39:01.917
2Thank you very much for you reply! But exactly the same thing happened with your method. If I understand it correctly, am I right to say that the difference in your method is that you use 'sda1' instead of 'sda'? So that in this way, you're targetting the partition instead of the whole drive? That made intuitive sense to me, and I thought it would work, but it didn't. My new 16GB SD card was recognised as one of 4GB again. – Ray – 2012-08-12T18:28:45.973