Thursday, August 25, 2011

How to have Intergration Service working in Linux for Hyper-V

Today I’m going to share with you that you can have Linux install into the Hyper-V.

I’ve here is the Suse Linux 10 installed as a VM in my Hyper-V lab.

Need to take note, that the Network should be installed as Legacy Network Adapter during the provisioning of the Linux VM (if it’s not in the listed as supported Linux version in Hyper-V). Otherwise can use the Synthetic Network Adapter. 

In the version of Suse Linux 10, the Synthetic Network Adapter is use then.

Intergration Services

Once you’ve installed the Linux, you need to install the “Intergration Services”.

You can download it from here.

Download both the files (the Linux_IC_v2.EXE & Linux Integration Components Read Me.pdf)

1. Open Hyper-V Manager

2. In Hyper-V Manager, configure LinuxIC v2.ISO (located in the directory where you extracted the downloaded files) as a physical CD/DVD drive on the virtual machine.

3. As the root user, mount the CD in the virtual machine by issuing the following commands at a shell prompt:

# mkdir /mnt/cdrom

# mount /dev/cdrom /mnt/cdrom

4. Copy the Linux Integration Components to the virtual machine.

# mkdir /opt/linux_ic_rtm

# cp /mnt/cdrom/* /opt/linux_ic_rtm –R

5. As the root user, run the following command to install the synthetic drivers.

# /opt/linux_ic_rtm/setup.pl drivers

Getting Mouse Working

Next is to get the MOUSE working.

Download the ISO file from here.

1. Download and attach the .ISO file to a Hyper-V guest with the Linux Integration Components already installed.

2. Copy the contents of the .ISO to the desired directory

3. Run setup.pl with the inputdriver argument:

# ./setup.pl inputdriver

You might need to reboot the Linux VM if the mouse is not working.

Thanks to my comrade Kwan Thean Keong for the recommendation.

keywords : Linux, mouse not active in Hyper-V for Linux, Service Intergration for Linux in Hyper-V,

 

No comments:

Post a Comment