Windows server 2019 Hyper-v Kali black screen

LegendGlenn-6404 31 Reputation points
2022-12-17T21:20:19.177+00:00

I wanted to ask if anyone else had an issue with Kali running in hyper-v in the cloud. I wanted to create a lab to practice anywhere instead of using virtual box on my machine. But following the steps for creating an ethical hacking lab in azure I run into the issue lightdm failed (something along those lines) in kali. I tried multiple methods of reinstalling lightdm, installing new packages, reinstalling kali, and it seems I hit a wall. I created VM's on multiple machines before and used kali in multiple instances. This is my first time dealing with this error.

Now I have tried using virtual box on the server instead and it has taken 2 days for kali to download not sure if I need to just use a desktop instance of windows 10 and create a virtual box or configure my lab directly in the cloud. I just don't want the unnecessary cost and time to build something to complete the task of what hyper-v should do.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,483 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,560 questions
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2022-12-17T21:30:33.687+00:00

    Looks to be supported.
    https://www.kali.org/docs/cloud/azure/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


1 additional answer

Sort by: Most helpful
  1. Jeremy Brooks 0 Reputation points
    2023-07-19T00:11:28.1033333+00:00

    I had the same problem. The fix that works requires these steps:

    1. When building the VM select Generation 2.
    2. Build the VM and follow all the steps of the install wizard.

    Capture

    1. Once install is done and before starting the VM, open VM settings, and in Security turn off all secure boot settings. Done! Works when installing Kali from an ISO and also when using the ready-made HyperV VHD from the Kali site.
    0 comments No comments