K
K
Konstantin Kavensky2018-09-25 23:26:33
Debian
Konstantin Kavensky, 2018-09-25 23:26:33

How to PXE boot from a Debian host to Hyper-V?

There is one Hyper-V, Debian 9 is running on it with the following set of software - TFTP server, Apache, Samba, DHCP, NFS.
Debian's task is to act as a boot server when booting via PXE.
I drive an IP in the Debian browser, well, it seems ok, I check it in Windows, everything seems to work.
I connect a hub so that my PC with Debian in Hyper-V and a non-book on which I check the PXE boot are on the network.
It tries to get an ip using dhcp, and without downloading anything, it starts to boot from the hard drive with Windows.
I'm booting from a non-book with Windows, I'm trying to ping Debian - "The specified network is not available."
Maybe I'm doing everything wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Radjah, 2018-09-26
@Radjah

Is the address of the pxe server and the name of the downloaded file registered on DHCP?
According to your mind, you need to look at the dhcp server logs and poke tcpdump if you are not sure that the host in Debian generally receives requests via dhcp.

E
Eugene, 2018-09-26
@yellowmew

Judging by the text, the laptop does not receive an IP from the DHCP server installed on your debian.
Accordingly, the questions are:
- does windows get an ip address with dhcp on your debian?
- Are the network settings correct?
Well, as the main suspicion - your virtual switch on HyperV is configured incorrectly (but I won’t tell you how to configure it correctly, there are a lot of options for your configuration)
. dhcp on your network, broadcast requests from outside to your dhcp server.
As an option to test the network boot scheme itself - create a microvirtual on hyperv and boot it via PXE. Will everything work fine?
Here is what we can advise

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question