Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving linux image from IDE to SATA

Status
Not open for further replies.

ChrisBeach

Programmer
Jun 10, 2005
128
CA
Hey All,

I've imaged my current server (typical dell desktop with IDE hd, 4gb ram). It runs as our company firewall/mail router/virus scanner/spam scanner/vpn.

I've got a new server, dual core xeon with a SATA drive.

My problem is when I untar the image onto the new server, how to I configure it to change over from the old /dev/hda1 and 3 to /dev/sda 1 and 2 ?

Anyone have any suggestions?

Thanks!
 
The short answer might be that, assuming everything else works fine, then you'd need to modify the boot loader configuration and /etc/fstab files...

The (much) longer answer is that this is probably a losing proposition.

The kernel, the kernel modules, and numerous configurations on the system are probably aligned to the IDE hardware configuration and not SATA - they ARE different from key points of view. Similar statements about the CPU...

The IDEAL approach would be to migrate configuration files from one machine to the other so that you brought up key services on the new machine using binaries compiled for the CPU and on partitions properly installed for the new drive.

Then you stream over the data as needed.

Someone with direct experience may have better guidance, but from a risk control perspective, if this is your corporate gateway/firewall/VPN/etc machine, I'd normally be very deliberate and cautious in how it gets built. To that end, I wouldn't go imaging between substantially different hardware configurations without significant confidence in the outcome.

Sorry to be a downer... good luck though!


D.E.R. Management - IT Project Management Consulting
 
Thank you very much for the input!

I would prefer to install a brand new version of the OS, and then copy config over, I just don't know of any way of doing so, other then ftp'ing conf files over, and reinstalling each and every program installed on the firewall. I'm not a linux guru by any means, so if I were to copy over lets say RADIUS, I'm not sure where to begin, what folders need to be copied, where all the conf files are located etc... Or is the best route to find the software and install new copies of everything and copy JUST the config files over?

I just choose imaging because I have until the 31 to have this up and running, and barely have time as it is, so it seemed fastest, but talking to you, maybe I'll try installing fresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top