Re: Trying to merge two different red hat installs
From: Tim (admin_at_sheerhell.lan)
Date: 11/08/03
- Next message: Jaap Niewold: "RedHat 9 and solaris 9 on one disc"
- Previous message: Newbie: "Re: RH 9 slow performance"
- In reply to: Carl: "Trying to merge two different red hat installs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 09 Nov 2003 01:56:35 +1030
On 7 Nov 2003 14:51:23 -0800,
carlsonq@extendedsystems.com (Carl) wrote:
> The problem is thus, we have a Red Hat Server ( running kernel
> 2.2.16-22) that is very very sick. There has been a lot of people
> doing a lot of things wrong with it, and its on its last legs.
> Unfortunately it also has a large quantity of settings, build-scripts
> and other things that are not backed up anywhere else. What my boss
> would like is to put a fresh, completely functional copy of Red Hat 9
> onto another hard drive, and then somehow make the data on the
> original HD available through the first one.
>
> My questions are:
>
> 1. Is this even possible?
Yes.
> 2. Assuming it is, is this the best way to get a clean Server running
> while preserving the old data?
For simplicity, remove the current drive, install onto a new drive, and
modify your GRUB or LILO boot script and /etc/fstab files to use device
names (e.g. /dev/hda1) not drive labels (e.g. LABEL=/boot) to refer to
the drive partitions (so you won't have problems if both drives happen
to have the same labels).
Then place the old drive as an additional drive, make mount points to
its partitions, and read the files that have been customised. Then,
either make similar customisations in the new system, or import the
configuration files (where it's suitable to do that).
e.g. Make a collection of directories inside /mnt, such as "root,"
"home," "var," etc. Make mount the old drive partitions to them, and
peruse their contents.
I've just updated one Red Hat 8.0 Linux to 9.0, that way. It was the
least annoying way to do it.
-- My "from" address is totally fake. The reply-to address is real, but may be only temporary. Reply to usenet postings in the same place as you read the message you're replying to.
- Next message: Jaap Niewold: "RedHat 9 and solaris 9 on one disc"
- Previous message: Newbie: "Re: RH 9 slow performance"
- In reply to: Carl: "Trying to merge two different red hat installs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|