virtual machine on Hyper-v

Hi Folks
i moved Debian 6 virtual machine from one hyper-v host to other ,through coping .vhd  files .create new virtual machine on second  hyper-v host attached those  .vhd file with new Hyper-v host .
Question:
The Debian virtual machine that i moved from one hyper-v host to other ,now cannot see eth0 (the eth0 does comes up) i do every . i tried to recreate "/etc/udev/rules.d/70-persistent-net.rules" file ,even it doesn't comes up.
Does anyone has any idea ? do i need to do something.  or do i need to install virtual network adapter  driver ?

Thanks
obaidoaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Salah Eddine ELMRABETTechnical Lead Manager (Owner)Commented:
Hi,

Is the VM type the same?? gen1 or gen2, I gess you are using gen1 since the HHD file extension is .vhd and not .vhdx

Double check the destination Hyper-V VM config is gen1 and try to add additional virtual network driver and then migrate ifconfig parameters from old eth to new one.

Best Regards.

Salah
Lee W, MVPTechnology and Business Process AdvisorCommented:
If you didn't export the VM and just copied the VHDs then you probably didn't get the same hardware IDs when the system booted on the new host so the NIC is probably not at eth0 anymore.  When I've had to switch my Untangle server between hosts, I often end up increasing the NIC "devices" (I'm currently using eth5 and eth6).

Alternatively, EXPORT the VM from the old host and then import it on the new host.  That should preserve the configuration.
obaidoaAuthor Commented:
Hi Lee
Thanks for response ,Yes i just copied .vhd,create new vm on other hyper-v host, attached those two .vhd files to the vm machine,and connect it with legacy network adopter and now the eth0 doesn't coming up ,i do a lot of work around,but no success  ,unfortunately the server from ever i copied .vhd ,is formatted.have you got any idea what next i have to do?

Thanks
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Lee W, MVPTechnology and Business Process AdvisorCommented:
Look over your network config (I'm not great in Linux), as I said, it's probably eth1 or eth2 now.
obaidoaAuthor Commented:
Hi Lee ,Salah

The issue has been sorted out .

Thanks  for both

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
obaidoaAuthor Commented:
this issue is sorted out
obaidoaAuthor Commented:
good solution
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.