Backup rootfs partition to work with eFlasher...
Posted: Mon Jul 25, 2016 12:13 pm
What I did:
I flashed Ubuntu Core with Qt-Embedded to emmc.
I have installed all needed applications and made complete configuration of system.
What I would like to do:
Now I would like to backup this "rootfs" partition so I can simply overwrite the rootfs.img file in Ubuntu Core with Qt-Embedded with my new rootfs.img and be able to reproduce this same image to my new NanoPC-T2
I allready made image with dd, but this image is 8GB big.
I know that dd copies also free space, but I also tried with writing zeros to unlocated space and put conv=sparse in dd command, but I still get 8GB image.
What is the way to make rootfs.img file only with usable data?
Thank you.
I flashed Ubuntu Core with Qt-Embedded to emmc.
I have installed all needed applications and made complete configuration of system.
What I would like to do:
Now I would like to backup this "rootfs" partition so I can simply overwrite the rootfs.img file in Ubuntu Core with Qt-Embedded with my new rootfs.img and be able to reproduce this same image to my new NanoPC-T2
I allready made image with dd, but this image is 8GB big.
I know that dd copies also free space, but I also tried with writing zeros to unlocated space and put conv=sparse in dd command, but I still get 8GB image.
What is the way to make rootfs.img file only with usable data?
Thank you.