Moving RHEL 3 install to new hardware

Posted on 2006-03-20
Last Modified: 2008-03-04
I'll attempt to avoid a very long explanation of exactly why we need to do this, but basically we need to move an application and its database to older hardware because the app has been obsoleted, but needs to be available for historical lookups. The app is currently sitting on hardware that is *much* too powerful to only serve historical lookups once or twice a month. We also happen to have several new services that we will be implenting that could make better use of the existing hardware. Unfortunately, we do not have support from the company that developed this database application, so we want to *move* the existing install rather than try to install the O/S on a new machine and attempt to migrate the application.

At any rate, the system is a dual-proc Xeon with RAID 5 and is running RHEL 3 and DB/2. We are hoping to move the service to a small, dated Dell box without RAID. (Remember, we have backups and no new transactions are being written to the database. This box is not necessarily going to be mission critical.)

This is the procedure we're currently looking at:

1: Attach target drive via SCSI bus or via external drive enclosure.

2: Boot server off of a Linux live CD.

3: Check the contents of /dev and 'dmesg' to ensure drives are properly

4: Either a) 'dd' data from source drive to target drive, dumping partitions, MBR, and all, or b) format matching partitions and then 'cp -Rp' data and then reinstall boot loader from RHEL 3 CD.

5. Install target drive in replacement system. Attempt boot. If boot is
unsuccessful, make note of errors, boot off live CD, mount the necessary
partition, and edit appropriate configs, address driver module issues,
etc. Repeat as necessary.

Unfortuantely, RHEL 3 does not include the 2.6 kernel or hotplug, which could make things difficult to configure once the data is in the new box.

Does anyone have any recommendations? We're glad to hear what suggestions others may have as we hope to make this as painless as possible.
Question by:masterswitchit04
    LVL 9

    Accepted Solution

    I'd suggest dd'ing instead of cp -Rp; attach the drive and dd over to the data partition (/dev/sdb3 or whatever). Keep that as a backup and then try to install 2.6 and hotplug -- I've moved hard drives to new hardware and found that RH's autodiscovery stuff (forget the name of it...) found everything on the new hardware. I've only done that on desktops and never with RHEL, so I don't know that it'd work (which is why I say do a dd and try it)
    LVL 2

    Assisted Solution

        DD should work fine. However, if you are concerned about the kernel, why don't you do an upgrade of kernel in the current server? (make sure it's backed up of course) Then create your own custom live CD? Look at for details.
    LVL 2

    Expert Comment

    For the hardware, kudzu (the name of the autodiscovery stuff) should take care of it and detect the changes.

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now