Debian size and uSD

Atilla Filiz atilla.filiz at gmail.com
Wed Oct 1 15:56:40 CEST 2008


I can use two card readers, no problem. would you suggest me tar /dev/sdb2
and untar it into /dev/sdc2? Or is
'dd if=/dev/sdb of=/dev/sdc' better

On Wed, Oct 1, 2008 at 1:15 PM, <vasco.nevoa at sapo.pt> wrote:

>
> 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
> >
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
---------------------------------------------------------
Bu mesaj UTF-8 ile kodlanmıştır
---------------------------------------------------------
Atilla Filiz
Technische Universiteit Eindhoven
Embedded Systems, Master's Programme
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081001/06b007b3/attachment.htm 


More information about the community mailing list