Posted in Linux Server, Virtual Machine Manager | 1 Comment | 10,499 views | 10/01/2011 11:48
Actually you can use Centos with Hyper-V Linux Integration Components. But if you upgrade your kernel, you should re-apply LIC again. So you can try applying new kernel with pre-compiled Hyper-V drivers. But as you know, if you apply custom kernels on Centos, your Centos will be no longer supported. So apply this with your own risk.
In the menuconfig, you should be careful about 3 things. If not, your new kernel may give kernel panic.
1) First, always enable this feature to eliminate boot failures.
General Setup -> Enable deprecated sysfs features to support old userspace too
2) Disable paravirtualized guest support to build rpm.
Processor type and features -> Paravirtualized guest support
3) Disable Virtualization feature.
Also you can append a version for Hyper-V.
General setup -> Local Version – append to kernel release
You can exit from menuconfig by saving the config. After that do:
And append the following lines:
After the changes, you can go with making RPM:
You can find your RPMs in /usr/src/redhat directory.