Windows Server 2016 Hyper-V - Boot Error w/ Virtual Switch

Michael Gagnon 1 Reputation point
2021-08-27T15:43:39.753+00:00

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!

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,348 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,935 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,506 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Dave Patrick 425.8K Reputation points MVP
    2021-08-27T23:32:06.79+00:00

    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--


  2. Limitless Technology 39,301 Reputation points
    2021-08-31T09:43:38.667+00:00

    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.

    0 comments No comments

  3. Dave Barnum 1 Reputation point
    2021-11-09T14:26:36.49+00:00

    There are many of us having the same issue, as described here: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1918265