can't seem to install vmware tools on debian etch server
first i fillowed this howto
http://www.thoughtpolice.co.uk/vmware/howto/debian-4.0-etch-vmware-tools-install.html
but when i was asked 'what is the lcation of the directory of C headers that match your running kernel?
in my case its:
/usr/src/linux-headers-2.6.18-6-686/include
unfortunatly i get this reply
the directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-6-686).
even if the module were to complie successfully, it would not load into the running kernel.
thanks for any feedback
tim
I don't know if I understood your problem, but I will try to help.
If you are sure that your running kernel is this "2.6.18-6-686", I would try to do a `uname -r` to confirm.
If it returns me back something similar to "2.6.18-6-686" (but the same
version), just like "2.6.18.6", "2.6.18-6" or "2.6.18-6-generic", I
would create a symbolic link:
$ ln -s /usr/src/linux-headers-2.6.18-6-686
/usr/src/linux-headers-2.6.18-6
If `uname -r` returns me something different than "2.6.18-6", I would
search the headers in another directory, like /usr/include or I would
try to download.
It is just a suggestion.
Use it, and shall be master!
thanks but i think the directory was found but if you read the output it says something about not matching the kernel
hi.
i used Debian (lenny) with VMS6.5.1 for guest os. lenny used kernel build number: 2.6.26. so i don't know the way is the best way for you, i got the somthing wrong same to u. but i works now . so i write my setps. hope can help you. if you just got the error with C headers that match your running kernel. u can try the A way. else if have other problems, u can try B way.
A way:
1 aptitude update
2 check ur kernel version and gcc version
uname -a
gcc --version
3 install the linux-headers match ur kernel and other packages
aptitude install linux-headers-$(uname -r) build-essential
4 reinstall vmware-tools
urpath/vmware-install.pl
B way
1 check ur gcc version ( seems open-vm-tools and vm tools like 4.1)
gcc --version ## if ur gcc version > 4.1, do the fllowing setps
aptitude install gcc-4.1
ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc
2 check ur kernel build number
uname -r
3 install the depand packages include linux-headers ....
the depand packages list:
build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev
u can copy this command
aptitude install build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev
download and install following deb-packages
copy them to a tmp directory and install it with the command ' dpkg -i filename'
4 unpack the vmtools to ur tmp directory
click the vmware menu-select the install vmware-tools. cp it to /tmp
cd /tmp
tar xzfv vmware-tools-xxxxx
5 download the open-vm-tools
copy it to a tmp directory and compile
tar xzvf name.gz
cd open-vm-tools/
./configure && make
6 if u passed all with no errors
cd open-vm-tools-2008.11.18-130226/modules/linux/
*7 cp .tar to vmware-tools-distirb replace the same name file
mv -f open-vm-tools-2008.11.18-130226/modules/linux/.tar vmware-tools-distrib/lib/modules/source/
8 install ur vmware-tools
cd /tmp/vmware-tools/distirb/
./vmware-tools.pl
it all my setps above . so hope can a little help for u . sorry for my english .i did my best. good luck!
I choose the A way above but also made sure that gcc 4.1 was used
after instaling vmware tools i get (lenny guest xp host)
mounting local file system error cannot mount filesystem protocol error(during boot)
under vmware services in guest machine
swtching to guest configuration done
guest file system driver done
mounting HGFS shares failed
guest memory manager done
guest vmxnet fast network device done
vm communication interface done
blocking file system done
guest operating system deamon done
virtual printing deamon done
finally I noticed that under devices the cd/dvd rom drive this was pointing to c:\program files\vmware/vmwareworkstation\linux.iso (a file that is size 191mb)
I have changed this to autodect will this be ok? and why is there a blocking file system module?
tim