New Boxen
JT Moree
moreejt at pcxperience.com
Mon Oct 2 17:24:14 MST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Technomage wrote:
> mount your new drive under /mnt/hdx
> mount your old drive under /mnt/hdy
>
> dd if=/mnt/hdy/home/ of=/mnt/hdx/home/
as you mention in your other email, dd will not work with directories.
but you do bring up a good point that I missed before:
> you may also have to sync passwd, group and shadow files using cp (if you want
> to retain same ownerships/accounts/etc)
if your users are not exactly the same on both boxes the ownership needs
to be set with chown on the new system. It is probably easiest to make
sure your users have the same ids on both systems before copying.
the only users that really matter are the ones listed in /home since
that is what you are copying.
- --
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
iD8DBQFFIa2t1JwGi/ukQqERAtV0AJ0ZjODc4O0JUVqSSoyT4engRc/qvACg4C5Z
eTjCYDWwF7asuL2fqypwUqA=
=RYfs
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the PLUG-discuss
mailing list