View previous topic :: View next topic |
Author |
Message |
browin n00b
Joined: 29 Jul 2021 Posts: 1
|
Posted: Thu Jul 29, 2021 3:08 pm Post subject: old gentoo and new Hyper-V |
|
|
Hello, it's my first post on this forum.
I have a big problem, i restore physical machine with gentoo (uname -r: 2.6.39-gentoo-r3) on hyper-v under control Windows Serwer 2019. My Gentoo VM not show eth0 or eth1.
I read many post with resolve this problem but nothing work for me.
Please help me. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Jul 29, 2021 5:10 pm Post subject: |
|
|
update your kernel, there is no driver for your virtual nic in 2.6.xx _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21489
|
Posted: Thu Jul 29, 2021 6:19 pm Post subject: |
|
|
If you need more help, please post the full description of your virtual NIC, as seen by Gentoo. Pastebin the kernel configuration you think should work with it.
If you cannot or will not update the kernel, you could try changing the Hyper-V configuration to offer a virtual NIC that your existing kernel understands. I don't know if Hyper-V has such a choice though. |
|
Back to top |
|
|
alicela1n n00b
Joined: 26 Mar 2021 Posts: 14
|
Posted: Sun Aug 01, 2021 2:43 am Post subject: |
|
|
With an install that old it's probably easier to backup all configurations and stuff and do a complete reinstall. 2.6.xx is very old and doesn't support the virtual NIC in Hyper-V, if reinstalling isn't an option you could try compiling a new kernel by downloading the sources from kernel.org and compiling manually. You could also try switching the virtual NIC to one that's supported, if Hyper-V allows that, QEMU for example can emulate old ones such as an rtl8139. _________________ emerchu -uDN world • gentoo girl |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Sun Aug 01, 2021 12:52 pm Post subject: |
|
|
browin,
Quote: | i restore physical machine ... |
Your kernel will be compiled for the ethernet interface in the the original physical machine.
There are literally 100's of ethernet cards, all with their own driver, so the chance of hyper-v emulating the ethernet card that your kernel is made for is very small.
Look at the list of ethernet interfaces that hyper-v supports and choose one that your kernel can be made to support.
Expect to at least add a module to your existing kernel.
An update to a current kernel will be difficult. Your glibc will be too old, your gcc will be to old ... That's not a good way to start.
The path of least pain is to make the ethernets work together if that's possible.
Sources for 2.6.39 will still be available. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|