ok, the dd I posted may not work.
this is definitely a good alternative...
On Monday 02 October 2006 16:33, JT Moree wrote:
> > augie wrote:
> > My question is how do I move my /home from the old boxen to the new one?
> > I've installed the OS on the new one. Do I just hook up the old hd to the
> > new one as slave and dd the /home partition using a live cd? If anybody
> > can provide the correct (in detail) processes, I'd be forever indebted.
>
> using dd requires that your partitions are exactly the same size. It is
> probably better to simply copy the data.
>
> mount /dev/hdYY /target
> mount /dev/hdXX /home
>
> cp -a /home/* /target/
>
> the -a is the archive option which is a shortcut for recursive,
> permissions, and a few other options which will retain those attributes.
>
> Also with this method the filesystem can be different. so you can
> migrate from ext2 to reiserfs or whatever.
>
> You can also use tar but in this case there is probably no advantage to
> doing so
>
> mount /dev/hdYY /target
> mount /dev/hdXX /home
> cd /home/
> tar -cf - | tar -C /target -xf -
>
> - --
> JT Morée
> PC Xperience, Inc.
> ---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss