LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-06-2013, 02:56 PM   #1
LVsFINEST
Member
 
Registered: Aug 2006
Posts: 99

Rep: Reputation: 21
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?
 
Old 12-07-2013, 09:41 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by LVsFINEST View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to migrate an existing system with RHEL5 OS to RAID1 (problem with '/dev/root' ) cdriba Linux - Newbie 1 03-09-2011 01:21 AM
Migrate existing RHN proxy server to Xen cghcgh Linux - Server 6 07-28-2009 06:37 AM
Migrate existing proxy server to xen cghcgh Linux - Software 1 07-20-2009 10:50 PM
Migrate existing fedora 9 to virtualbox guest zuessh Linux - Software 1 03-03-2009 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration