I have an SD card that I use in my Raspberry pi configuration, and I recently purchased a bigger card.
I'd like to avoid to re-install the os (OpenElec) and to transfert all the files already present (almost 60Gb), but to do something like dd
from the sdcard to my local disk, then do an other dd
from my local disk to the new sdcard and that's it.
Is it possible?
Plot twist, I'm on MacOS (but I believe that for that kind of work, it's quite similar to Linux, I'm not afraid of command line).
Thank you for your help.
To find the drives, their partitions and device special file names on a Mac, you would run this in the Terminal:
Sample Output
Then very carefully select which ones have the right size and filesystem to match your SD card for input from and output to. Then use the entire disk name (rather than any slices which end in
sN
like/dev/disk5s2
) to get the MBR:The
<disk5000>
above is a placeholder for the real name as I do not want to trash anyone's disk who is daft enough to copy/paste my example without checking it matches their system.