In Loki We Trust The many projects of Lokkju, Inc

feedback
20Mar/094

Installing Hyper-V Linux Integration Components v2 in CentOS 5.2

Microsoft still hasn't released a CentOS or RHEL RPM for Hyper-V's Linux Integration Components, so you still have to build them yourself. Of course, since neither RHEL or CentOS are supported platforms, Microsoft won't help you much.

So, with help from Julian Field's work log on installing the original LIC v1, I've put together a minimal instruction set for performing a LIC v2 install on a fresh CentOS 5.2 install.

I started with an absolute minimal install, so there should be no packages other then those below that are needed.

Lines starting with "$" are shell commands.
Lines starting with "#" are something you need to do.


# In Hyper-V: Mount CentOS 5.2 ISO image

$ mkdir -p /media/cdrom
$ mount /dev/cdrom /media/cdrom
$ yum --disablerepo=\* --enablerepo=c5-media install gcc make gnupg kernel-devel
$ umount /dev/cdrom

# In Hyper-V: Mount Linux Integration Components ISO image

$ mkdir -p ~/linux_ic2
$ mount /dev/cdrom /media/cdrom
$ cp /media/cdrom/drivers/dist/* ~/linux_ic2/ -R
$ cd ~/linux_ic2/
$ make install
$ reboot

YOU ARE DONE!

To verify, look for the new seth* network interface.

Wasn't that easy?

api
Comments (4) Trackbacks (0)
  1. Used this on CentOS 5.5 and it worked well. Thanks! This prevents the need to use the Legacy Network Adapter altogether.

    A note: if you also xorg-x11-server-sdk and rpm-build to the list of yum install packages, the Satori inputvsc driver will also build/install without a hitch, for anyone who finds this post who is struggling with getting a mouse working in Hyper-V.

  2. I was just at OSCON, and talked with the SUSE linux guys. Supposedly SUSE Linux 11 SP1 has a beta version of new drivers, and Microsoft is supposed to be releasing the final version within a week or so. This should resolve any issues with new kernel versions, and is also supposed to make things just generally faster.

  3. Just done this on two Centos 5.5 machines. Went reasonably ok (though I had to softlink /usr/src/kernels/2.6.18-194.11.3.el5-x86_64 to /usr/src/kernels/2.6.18-194.el5-x86_64.
    However, after install, reboot, attach nic to vm, set up IP’s and default routing, I’m still only getting 1.9MB/s between the tow VM’s (and they are both on the same hyper-v machine.
    Any ideas?

  4. I can’t get CentOs to shutdown using Hyper-V. It throws me an error. Of course I can shutdown normally in CentOs, just not through Hyper-V IC.


Leave a comment

No trackbacks yet.

jobs
rss