Generation 2 Linux virtual machines may not boot in Windows Server 2012 R2

Symptoms
When you try to deploy a Generation 2 Linux-based virtual machine template to a Windows Server 2012 R2 host, the operation may fail. When you try to connect to the console session of the virtual machine, you may see a report that indicates that the hard disk cannot be found.
Cause
By default, Generation 2 virtual machines have secure boot enabled. Generation 2 Linux virtual machines will not boot in Windows Server 2012 R2 unless the secure boot option is disabled. 
Resolution
Verify that the SecureBoot setting for the virtual machine is appropriate for the destination hypervisor. For more information, see Supported CentOS and Red Hat Enterprise Linux virtual machines on Hyper-V.

You can disable secure boot in the Firmware section of the settings for the virtual machine in Hyper-V Manager, or you can disable it by running the following PowerShell command:

PS C:\> Set-VMFirmware -VMName "VMname" -EnableSecureBoot Off
Властивості

Ідентифікатор статті: 3198619 – останній перегляд: 10/12/2016 17:38:00 – виправлення: 2.0

Windows Server 2012 R2 Standard

  • KB3198619
Зворотний зв’язок