Centos 5.5 on Hyper-V 2016

Pawel Grzeda asked:

I’m trying to install Centos 5.5 on Hyper-V 2016. The installation process passes correctly but when I try to boot newly installed system it stuck at the beginning. The only thing I can see is black screen with blinking underscore sign. It doesn’t respond to keyboard. Any idea how to fix it?

My answer:

RHEL 5 / CentOS 5 cannot boot with UEFI, but Hyper-V 2016 creates Generation 2 virtual machines by default. These always boot with UEFI only.

To install CentOS 5, you will need to create the virtual machine as a Generation 1 virtual machine.

WARNING: CentOS 5 is past end of life. You should upgrade to a supported OS distribution immediately.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.