LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Migrate existing OS to new hardware (https://www.linuxquestions.org/questions/linux-hardware-18/migrate-existing-os-to-new-hardware-4175487127/)

LVsFINEST 12-06-2013 02:56 PM

Migrate existing OS to new hardware
 
I have a CentOS 6.4 installation that will swapped out with new hardware in the near future (new mobo, RAM, CPUs, GPU, etc). From what I've researched thus far, I expect things to go pretty smoothly except for the network aspect (the new mobo has 4 NICs instead of the current two, not including PCI NICs)...

What is the best way to go about this situation? I would prefer not to rewrite udev rules simply because I'd like to keep the default enumeration order of the new board (IE whatever udev sees as the first NIC on the new mobo should be eth0, second NIC equals eth1 and so on). I do not want a "non-standard" config.

I'm thinking of inserting an unused HDD into the new hardware first, installing minimal bare bones CentOS, then copying it's /etc/udev/rules.d/70-persistent-net.rules file. Then I will manually port that over to my existing CentOS install and reconfigure the ifcfg-eth* scripts manually when I plug it into the new hardware.

Is this a sound plan? Is there an easier way?

TobiSGD 12-07-2013 09:41 AM

Quote:

Originally Posted by LVsFINEST (Post 5076614)
I'm thinking of inserting an unused HDD into the new hardware first, installing minimal bare bones CentOS, then copying it's /etc/udev/rules.d/70-persistent-net.rules file. Then I will manually port that over to my existing CentOS install and reconfigure the ifcfg-eth* scripts manually when I plug it into the new hardware.

Unnecessary. Those rules are auto-generated and it doesn't make a difference if you do it on a clean system or a system that has been used already. Just delete those files, then put the disk in the new box, udev will generate the rules while booting, done.


All times are GMT -5. The time now is 09:07 AM.