QtMoko - howto migrate from one partition to another?

Matthias Huber matthias.huber at wollishausen.de
Sat Sep 12 16:05:02 CEST 2009


Torfinn Ingolfsen schrieb:
> Hi,
>
> On Thu, Sep 10, 2009 at 4:33 AM, Stefan Monnier
> <monnier at iro.umontreal.ca <mailto:monnier at iro.umontreal.ca>> wrote:
>
>
>     Just be careful to only backup the partition's own files.  I.e. use
>     the --one-file-system argument.  Otherwise you might start copying
>     /sys,
>     /proc and that will get you into trouble.
>
> I mounted /dev/mmcblk0p3 on /mnt, and did 'cp -Rpvx /  /mnt'
> Now I just need to find out how to boot from p3 with Qi, I thought
> That presding the AUX button while the LED was red should do it, but
> so far that doesn't want to work for me.
>
i make my backups always with rsync on the mmc.

but with the real rsync, not with busybox.

here is my script:

#!/bin/sh -x
cd /
rsync -avulH --del --exclude=/home/root/Maps --exclude=boot/*
--exclude=Maps/* --exclude=sicherung/* --exclude=media/* --exclude=sys/*
--exclude=dev/* --exclude=proc/* * /media/disk/shr/
2>/media/disk/sicherung/fehler.txt

echo errors are in /media/disk/sicherung/fehler.txt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090912/79f05f54/attachment.htm 


More information about the community mailing list