Why do I get errors when creating a RHEL 8.3 VM on Windows Server 2012 r2 Hyper-V Manager?

jxbma 1 Reputation point
2020-11-30T13:54:35.2+00:00

I am using Hyper-V on a Windows Server 2012 r2 machine. I am attempting to create a VM with RHEL 8.3 and am running into issues.

I have tried creating both Generation 1 and Generation 2 VMs and neither have worked.

When I select Generation 1, I get the following error:
43704-generation-1.png

When I attempt to create the VM as Generation 2, I get the following error:
43618-generation-2.png

After some research I found this and I turned off EnableSecureBoot via Powershell:

Get-VMFirmWare -VMName "MyVmName" | Select-Object *
Set-VMFirmWare -VMName "MyVmName" -EnableSecureBoot On/Off
But I still get the same error.

Is there something I'm missing here or a workaround for my issue. I need to get the VM up and running with RHEL 8.3.

Thanks, JohnB

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mico Mi 1,936 Reputation points
    2020-12-01T06:19:28.617+00:00

    Hi,
    How did you create the VM, using iso or physical CD? If you use iso, please ensure you download it from official website.
    Please check the boot order of your VM both in generation 1 and 2.
    43868-image.png
    43932-image.png
    When choosing generation 2, you will need to change the secure boot settings. Enable Secure Boot should be checked. Change Template to Microsoft UEFI Certificate Authority.
    43897-image.png
    (https://developers.redhat.com/rhel8/install-rhel8-hyperv-v3)
    And press a key as you start your VM from Hyper-V manager.
    43913-image.png
    Since you are using Linux on Hyper V, if you want to know more information, it's suggested to turn to Linux on Hyper V forum for better help:
    https://social.technet.microsoft.com/Forums/Windows/en-US/home?forum=linuxintegrationservices
    Thanks for your time!
    Best Regards,
    Mico Mi

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.