Save eMMC content on personal desktop computer


#1

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


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

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…


#3

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.


#4

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