QtMoko - howto migrate from one partition to another?

Radek Polak psonek2 at seznam.cz
Wed Sep 9 23:26:46 CEST 2009


Torfinn Ingolfsen wrote:

> My current setup fr QtMoko is like this: I have QtMoko v8 installed on
> p2 of the Sdcard (root=/dev/mmcblk0p2).
> And I have a "backup partition" on /dev/mmcblk0p3.
> Before I upgrade p2 to QtMoko v9, I wish to migrate everything from
> there to p3.
> 
> Can I just use cp or tar while I am booted in QtMoko v8 to copy
> everything over?
> Or do I have to perform some more advanced magic?

I think tar or cp will not work well on partition you have booted from.
Files can change during copy and you have /proc and /sys mounted.
Best way is to put the card in PC or boot from NAND to make copy. Or
install QtMoko v9 to mmcblkp3, boot it and backup mmcblk0p2 from there.

Regards

Radek




More information about the community mailing list