[Server-devel] Cloning and hardware addresses

David Leeming david at leeming-consulting.com
Thu Dec 2 15:53:54 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

Sub note to this. I found I had to delete the file altogether. Then it works. It regenerates the file with the new hardware addresses so if the HDD is moved again, I guess this step needs repeating.





More information about the Server-devel mailing list