Re: Trying to merge two different red hat installs

From: Tim (admin_at_sheerhell.lan)
Date: 11/08/03


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.


Relevant Pages

  • RE: Clean Insall MCE 2005 With Already Established Drive Partition
    ... Windows setup does not recognize any of the drive partitions. ... "Unknown Disk' messages accompanied by "There is no disk in this drive." ... I want to keep drives D and E since they have a lot ... What options do I need to take during the installation ...
    (microsoft.public.windows.mediacenter)
  • Re: Right click menu problem
    ... I am new at yahoo groups. ... drive partitions and right click on them the first option is Auto ... because by double clicking on the drives they don't open. ...
    (microsoft.public.windowsxp.general)
  • Re: Right click menu problem
    ... Auto or Autoplay in the context menu? ... Options> File Types> drives and then got the same problem. ... drive partitions and right click on them the first option is Auto ...
    (microsoft.public.windowsxp.general)
  • Re: Right click menu problem
    ... I still have Auto ... File Types> drives and then got the same problem. ... drive partitions and right click on them the first option is Auto ...
    (microsoft.public.windowsxp.general)
  • Re: mdadm and fsck
    ... I tried to mount the individual drives that make up my /dev/md1 and this is ... Raid Level: raid1 ... Data Offset: 2048 sectors ...
    (Debian-User)