[Server-devel] Cloning and hardware addresses

Jerry Vonau jvonau at shaw.ca
Thu Dec 2 05:01:47 EST 2010


On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote:
> I have been cloning a “master” XS hard drive onto a number of copies,
> to be used in different computers (of the exact same type). I used the
> following simple way of cloning
> 
>  
> 
> dd bs=8192 if=/dev/sda of=/dev/sdb 
> 
>  
> 
> where sda is the master and sdb is connected via USB. This done using
> a live CD to boot it up.
> 
>  
> 
> The clones work fine in the same PC as was used with the master.
> However, on booting a cloned HDD in another machine it does not detect
> the NICs (the computer has 2). I assume I have to delete the “HWADDR=”
> line somewhere, for both eth0 and eth1.
> 
>  

/etc/udev/rules.d/70-persistent-net.rules
Delete the lines that refer to all the eth devices and reboot

Jerry




More information about the Server-devel mailing list