New Boxen
Technomage
technomage-hawke at cox.net
Mon Oct 2 17:20:40 MST 2006
ok, the dd I posted may not work.
this is definitely a good alternative...
On Monday 02 October 2006 16:33, JT Moree wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFIaHB1JwGi/ukQqERAspfAJ9N4kb05sZFvrzYdwTWDqT1GYPLhQCgl8Hl
> Pfv+A1ERK8/obO6/5NfxCI0=
> =Hh9B
> -----END PGP SIGNATURE-----
More information about the PLUG-discuss
mailing list