Install vmwaretools » History » Version 4
Andreas Kohlbecker, 08/06/2013 05:43 PM
1 | 1 | Andreas Kohlbecker | |
---|---|---|---|
2 | 2 | Andreas Kohlbecker | The vmaretools iso image must be made available to the guest system as cdrom. |
3 | 1 | Andreas Kohlbecker | |
4 | |||
5 | |||
6 | ~~~ |
||
7 | apt-get install linux-headers-$(uname -r) |
||
8 | |||
9 | 4 | Andreas Kohlbecker | echo "copy this path for later, just in case the vmware-config-tools.pl cand find it:" |
10 | echo /lib/modules/$(uname -r)/build/include |
||
11 | |||
12 | |||
13 | 1 | Andreas Kohlbecker | mount /dev/sr0 /mnt |
14 | cp /mnt/VMwareTools-9.0.0-782409.tar.gz /tmp/ |
||
15 | umount /dev/sr0 |
||
16 | cd /tmp/ |
||
17 | tar xzf VMwareTools-9.0.0-782409.tar.gz |
||
18 | 3 | Andreas Kohlbecker | vmware-tools-distrib/vmware-install.pl |
19 | |||
20 | /etc/init.d/vmware-tools status |
||
21 | 1 | Andreas Kohlbecker | ~~~ |
22 | 4 | Andreas Kohlbecker | |
23 | if you run into problems where ... can not find the linux headers: |
||
24 | |||
25 | |||
26 | ---- |
||
27 | |||
28 | Turns out, the installer is looking for the version.h file in under [[kernelsource|path]]/include/linux/version.h, it's not there. The location of version.h is [[kernelsource|path]]include/generated/uapi/linux/version.h |
||
29 | |||
30 | |||
31 | The solution is a symlink: |
||
32 | |||
33 | ~~~ |
||
34 | sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h |
||
35 | ~~~ |
||
36 | After creating this symlink, I was able to run the VMware Tools installer without a problem. |
||
37 | |||
38 | |||
39 | from http://askubuntu.com/questions/131351/how-to-install-vmware-tools ) |
||
40 | |||
41 | |||
42 | ---- |