Saturday, August 21, 2010

How to install linux integration components 2.1 in a CentOS 5.x virtual machine running on Hyper-V R2

- Download Linux Integration Components v2.1 from Microsoft Download site.
- Obtain the inputvsc.iso for the mouse driver from Project Satori
- Extract the .exe file into a temp folder. You will need only LinuxIC v21.iso file.
- Place the LinuxIC v21.iso file into your VM host server where you can mount the ISO as a CDROM on your CentOS Virtual Machine.
- Add a legacy network adapter to linux guest machine
- Install kernel-devel package and Development Tools using these commands
# yum install kernel-devel
# yum groupinstall "Development Tools"
# yum update
- Mount linux integration services iso and copy all contents to hard drive of linux guest
# mount /dev/cdrom /mnt
# mkdir /opt/lic21
# cp –R /mnt/* /opt/lic21/
- Change directory to where you copied the integration services and run
# make
# make install
- Shutdown and remove your legacy network adapter.

The InputVSC driver requires the Linux Integration Components to be installed, and supports the same guest distro versions. To install the InputVSC driver: (you must be root:)
- Download and attach the .ISO file to a Hyper-V guest with the Linux Integration Components already installed.
- Copy the contents of the .ISO to the desired directory
- Run with the inputdriver argument:
# ./ inputdriver

NOTE: If you're using the x64 version of Centos, you have to perform an extra step.
Attach the Centos ISO that was used for installation in the virtual machine, and mount it:
mount /dev/cdrom /mnt/cdrom
Install the adjtimex RPM for more accurate time keeping in the virtual machine:
rpm –ivh /mnt/cdrom/Centos/adjtimex-1.20-2.1.x86_64.rpm
To verify that all subcomponents are running, as the root user, issue the following command at a shell prompt:
/sbin/lsmod | grep vsc
Please remmeber when using Network Adapters on Hyper-V, NIC names would be changed from eth0 to seth0

Read also these posts:

No comments:

Post a Comment