search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Installing Hyper-V Linux Integration Services v3.2 on CentOS 6.2
Posted in Linux Server, Virtual Machine Manager, Windows Server | 13 Comments | 25,297 views | 28/01/2012 21:12

You installed CentOS 6.2 on Hyper-V and you want to install Linux Integration Services v3.2.
Let’s read documentation and see if we can.

So let’s do it on CentOS server.

mount /dev/cdrom /media
/media/install.sh

Oops, we got the following error:

ls: cannot access kmod-hyper-v-rhel6-43.1.x86_64.rpm: no such file or directory
ls: cannot access hyper-v-rhel6-43.1.x86_64.rpm: no such file or directory
RPM’s are missing

But I know they are not missing, just I can’t execute them due to directory permissions.
There is one additional step to install Linux Integration Services v3.2 on CentOS 6.2.

chmod 777 /media
/media/install.sh

Correction! Please use the following if the above doesn’t work for you.

mount /dev/cdrom /media
mkdir /home/LIC
cp /media/* /home/LIC
cd /home/LIC/
./install.sh

You can also try “SetLinuxVM” to install integration services.

Now you should reboot your VM to get VM additions.


Comments (13)

brian MCfarland

February 22nd, 2012
16:10:19

I still get the error?

[root@LinuxWeb ~]# chmod 777 /media
chmod: changing permissions of `/media’: Read-only file system
[root@LinuxWeb ~]# /media/install.sh
ls: cannot access kmod-microsoft-hyper-v-rhel6-43.1.x86_64.rpm: No such file or directory
ls: cannot access microsoft-hyper-v-rhel6-43.1.x86_64.rpm: No such file or directory

Any way to copy locally and then run?


Sam

March 3rd, 2012
15:43:23

Hi, I get this error but changing the permissions of /media does not do anything, it just says “read only file system” and the perms stay the same


Sam

March 3rd, 2012
18:24:01

Okay I found this worked instead of chmod
Sounds like just a pathing issue in the script. I issued the following commands (changing to the media folder was what fixed it)

mount /dev/cdrom /media
cd /media
/media/install.sh


admin

March 4th, 2012
16:28:58

Hello,

This is from current version of SetLinuxVM:

# Install Linux IC
mount /dev/cdrom /media
mkdir /home/LIC
cp /media/* /home/LIC
cd /home/LIC/
./install.sh

Sorry for my late response.

Yusuf.


john

March 11th, 2012
22:58:18

Greetings yusuf
thank you very very much for you Great solution
best regards


Jared

April 29th, 2012
04:07:43

Thanks it worked great. Integration services are now installed. How do you go about getting the nic installed? There only seems to be a Loopback adapter installed.


Rosewood

May 7th, 2012
00:39:42

Thnkas for this – it worked great.


Fawaaz

May 12th, 2012
14:41:59

I am having the same problem on 2 virtual Machines in CentOS 6.2 (Kernel 2.6.32-220.7.1.el6.x86_64) with IC 3.2 on Hyper V (Windows 2008R2 SP1 Datacenter Edition). Each VM is on a different CSV FC SAN HP EVA. They are on a different nodes of the clusters.

Here are screenshots I got.
http://cl.ly/0v0a2h1W2F003Z2h3t0x
http://cl.ly/461O343v3o2b1C2X1B1o

If someone has a solution ?

Thanks a lot.


admin

May 12th, 2012
15:00:37

Hello Fawaaz,

Is that possible to try removing LIC v3.2 and install LIC v3.1? We have same problem on some CentOS VMs which has high IO usage. Sometimes we got this IO problem once in a week, but sometimes every day. I’m going to try same process.

I think there is a problem with LIC v3.2 or CentOS 6.2 has different storage behavior and it’s not working with LIC v3.2 well.

Yusuf.


Wilson Chua

May 31st, 2012
05:35:50

Hello i followed the instructions of copying to the home directory and then running the ./install.sh from there, but i get a lot of other errors:

*snip*

kernel(utf8s_to_utf16s) = 0x4575315d is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
kernel(vfree) = 0x999e8297 is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
kernel(vmalloc_to_pfn) = 0x3744cf36 is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
kernel(wait_for_completion_timeout) = 0x3e1f073d is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
kernel(warn_slowpath_null) = 0x16305289 is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by kmod-microsoft-hyper-v-rhel6-43.1.x86_64
Kmod RPM installation failed, Exiting

What did I fail to do?


Amit Vyas

August 13th, 2012
02:58:38

I am facing the same issue like Wilson Chua has mentioned…

Please reply to solve this issue


Mucahid USLU

December 10th, 2012
10:42:24

I also have same problem like Wilson Chua mentioned !


Mucahid USLU

December 10th, 2012
11:26:07

I solved this stiuation.
If there is facing dependency error or who want to try for centos 6.3 please look here for solution also
http://mucahiduslu.blogspot.com/2012/12/installing-virtaual-linux-using-hyper-v.html

greetings



Leave a Reply