Hello! I’m having a bit of trouble cloning an SD card in such a way that I can share it to allow others to get my exact set-up on their devices.
In short, I have a working install of Raspbian, on my AML-S905X-CC with some software pre-installed and configured. I want to clone this SD card to an image on my main Linux PC.
- I inserted the 16GB SD card into my PC, and clone it with
dd
like so:sudo dd bs=4M if=/dev/sdc of=base.img conv=fsync
- I took the resulting file (base.img), and flashed it to another SD card (This time 128GB). GNOME disks showed the exact same partition structure as the original SD card, as expected. Since this SD card was larger, there was trailing free space.
- When I inserted the new SD card into the AML-S905X-CC, both blue and red lights illuminated as expected, followed shortly by the green light illuminating. However, the boot process seemed to hang there, and there was no display output or network connection.
I’ve repeated this process with multiple SD cards, and made multiple attempts at cloning the original SD card using using GNOME Disks, dd
, and GParted on a bootable flash drive. I’ve also tried flashing to the new SD card using dd
, GNOME Disks, and Balena Etcher, all with no success. I always see the appropriate partition structure and files, but the device fails to boot after the green light comes on.
Just to clarify, the original SD card still boots fine. I just can’t find any solution that allows me to clone the working SD card to another SD card.
Is there something I’m missing? Thanks for the help.