Debian size and uSD
vasco.nevoa at sapo.pt
vasco.nevoa at sapo.pt
Wed Oct 1 13:15:03 CEST 2008
I usually do "cp -ax ..." with success. I've cloned entire operating
systems like this in the past without problems. Haven't tried with OM
yet, but it worked with a couple of Ubuntu installations. Takes a long
time, though... ;)
Obviously, you preferably do it with the filesystem offline... booting
from somewhere else.
Citando arne anka <openmoko at ginguppin.de>:
>> Another thing is I bought a 2G uSD and I want to move my debian system to
>> that card. If I manually partition it (8MB fat and rest ext2) and just
>> copy
>> contents of 512M, would it work? Or maybe i can copy an image using dd
>> and
>> then somehow resize the partition. Anyone tried migrating from one SD to
>> another?
>
> do not use plain cp -- it will most likely result in some corruption of
> special files.
> your best bet would be either tar or rsync, depending of your usecase.
>
> for rsync (and tar on-the-fly) you could copy the partitions with dd,
> mount the images with loop and transfer your data.
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
More information about the community
mailing list