Might check the build is supported.
https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-debian-virtual-machines-on-hyper-v
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I apologize if this question has been asked and/or answered elsewhere, but I cannot find a solution to this issue. When setting up a Debian based system within Hyper-V, it is unable to proceed past the GRUB menu if the VM has a virtual switch enabled. Upon making my selection within GRUB the VM seems to restart and proceed back to the GRUB menu. If the virtual switch is disabled, the VM boots with no issues and then the switch can be enabled after it proceeds past the GRUB menu. Strangely enough if I were to keep attempting to boot past the GRUB menu with the switch enabled it will eventually boot after 10+ attempts at doing so. I have run into this particular issue across two 2016 servers, as well as with various versions of Debian based distros. It is more of an annoyance than anything, however I would like to see if anyone has input on this particular issue. Thanks for any help or input on this situation!
Might check the build is supported.
https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-debian-virtual-machines-on-hyper-v
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Hello Michael G,
Thank you for your question.
1) Check VM boot method, in BIOS, set first boot order
2) Then start the VM and type F8 and select "safe mode", in safe mode select "Repair your computer"
3) Check if this can help to repair the system.
simple suggestion to fix this: Create a new VM and select generation 2.
If the answer was helpful, please don't forget to vote up or accept as an answer, thank you.
There are many of us having the same issue, as described here: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1918265