Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Migrating hard drives
Date: Fri, 19 Dec 2008 16:20:11
Message-Id: 1229703607.6567.24.camel@brotherus.rdu.redhat.com
In Reply to: [gentoo-user] Migrating hard drives by Grant
1 On Fri, 2008-12-19 at 08:01 -0800, Grant wrote:
2 > I'm about to switch from one SATA hard drive to another and I'm
3 > planning on going through the normal installation process except for
4 > copying over the data on each partition of my old drive to the
5 > corresponding partition on my new drive. Is there anything to watch
6 > out for? Pitfalls to avoid, etc?
7
8 Hmmm, a bit of an abstract description (what is meant by "data"?) of the
9 issue with a broad question, but here goes...
10
11 * If you plan on overwriting the old drive, make a backup.
12 * Don't overwrite /etc but keep a copy of it around
13 (e.g. /root/old_etc)
14 * Keep a copy of your old world file, /etc/portage, etc. so you
15 know what's installed.
16 * If you're keeping both drives don't forget to update your
17 grub/lilo config.
18 * You might want to re-label your old partitions (if they're
19 labeled) to avoid confusion.
20 * Be careful of changes of uid/gids in system accounts with the
21 new install. When creating new users you might want to be sure
22 their uids/gids match.
23 * Again, a backup is your friend.
24
25 HTH,
26 -a