[wplug] Cloned disk question
Eric Cooper
ecc at cmu.edu
Wed Sep 29 14:24:24 EDT 2010
On Wed, Sep 29, 2010 at 01:45:31PM -0400, Rob Lines wrote:
> On Wed, Sep 29, 2010 at 1:37 PM, Patrick Weber <paw160 at yahoo.com> wrote:
> > I have a question regarding cloning a linux installation.
> >
> > I managed to clone my disk and get it booting in the new system, however I
> > noticed that the ethernet port names are all different.
> >
> > The original system had eth0 - eth4. The new system has eth5-eth9. I'm
> > sure that some configuration file must be keeping track of the hardware
> > address and the device name.
> >
> > How do I 'reset' this labeling?
>
> Give a look in /etc/sysconfig/network-scripts
>
> There shoudl be an ifcfg-ethX for each of the interfaces. See if they
> have MAC addesses listed in them and after killing the ones from the
> old hardware you can rename the files to the order you want them in.
If you're running Debian or one its derivatives, you need to remove
this file:
/etc/udev/rules.d/70-persistent-net.rules
which "remembers" the mapping of MAC address to interface name.
--
Eric Cooper e c c @ c m u . e d u
More information about the wplug
mailing list