You successfully upgraded cluster 2012 R2 to Windows Server Technical Preview (not recommended in productions until RTM) , VM’s configurations to new version without any errors and try to run VMs in cluster. In this case, you may notice VM switches to boot from PXE and “No operating system was loaded on Vms after upgrade fo vNext” error appears.
Solution:
It’s all because of Secure Boot settings.
I have VMs with Windows Server inside so I get them and set required secure boot template:
Get-ClusterGroup|? {$_.GroupType -EQ "VirtualMachine"}|get-vm|Set-VMFirmware -SecureBootTemplate MicrosoftWindows
Note: for VMs with Linux OS which support secure boot you have to run
Set-VMFirmware vmname -SecureBootTemplate MicrosoftUEFICertificateAuthority
One thought on “TOTD: No operating system was loaded on VMs after upgrade to vNext”