Save eMMC content on personal desktop computer



After applying some modifications to my debian rootfs on db410c, I need to copy the content of the eMMC to my workstation, so I can make updated sd cards with the modified rootfs.img.

From the partition table of my debian, I can see that the rootfs is located at /dev/mmcblk0p10.
Copying it with dd inside the same rootfs partition is not the best solution, since the output img file will be included recursively.

Any suggestion about the best way to accomplish this in a better way ?

Thank you in advance.

Rootfs.img - save eMMC content and put it back into the SD installation card or other installation methods?


please check

Also, please note that some files in your Linux rootfs are expected to be unique. So make sure to delete then when you duplicate your file system. for example: /etc/machine-id and also all the SSH private keys in /etc/ssh…


I generally do something like:

pv /dev/mmcblk0 | ssh mypc dd of=my410c.IMG bs=4096

pv won’t be installed by default but is a great way to get a progress meter.


Thank you, I will try it as soon as possible.