CentOS 5.2 x86_64 on Intel Modular server and Windows 2008 Hyper-V
Posted by rbTech Staff on 05 January 2012 12:28 PM
Please note: this article is still a draft and incomplete!
We were contracted to install the as of yet unsupported CentOS 5.2 x86_64 as a virtual machine under Hyper-V on Windows 2008 server.
We began with a base install of CentOS5.2, x86_64. While it installs OK, there's no mouse or networking support in the stock kernel for the devices presented by Hyper-V. The next step is to install the dependencies to build a new kernel:
(Need to get screenshot/ cut/paste of rpm command here...)
[[email protected] CentOS]# rpm -Uvh ....
We then built the new kernel following the steps laid out here:http://www.jules.fm/Logbook/files/win2008_linuxic_rc2_rhel.html.
His instructions say you need to get 'legacy networking' up to get this going... unfortunately, on this hardware, there's no legacy networking (thank you, Microsoft, for emulating a fscking Broadcom NIC... we all know what sort of stellar performance those things give under Linux). So we did a bunch of mounting of CDs and ISO images instead.
We added the patch line for our architecture, and left the other lines alone. Instead of messing extensively with the specfile as the author instructed, we used command line options instead:
[[email protected] CentOS]# rpmbuild -ba kernel-2.6.spec --without headers --with xen --with xenonly
We then left the thing running for a long time while it built the kernel for us.
It finished after several hours, and we installed the new kernel and rebooted. Once that process was complete, we had a functioning virtual server, complete with Mouse and Network support. No more sneakernet!
The next step is to build up our webserver with the sample installations of ezPublish and SilverStripe!