Save eMMC content on personal desktop computer

Hello,

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.
Regards,
Simon

hi,

please check https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Installation/LinuxSDBoot.md#creating-an-image-of-the-internal-emmc.

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…

1 Like

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.

1 Like

Hello,
Thank you, I will try it as soon as possible.
Regards,
Simon