[wplug] Cloned disk question

Mark Sikora markys123451 at gmail.com
Wed Sep 29 15:40:06 EDT 2010


You also need to regerate any ssh keys...

On 9/29/10, Eric Cooper <ecc at cmu.edu> wrote:
> 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
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>

-- 
Sent from my mobile device


More information about the wplug mailing list