Saturday, May 06, 2006

Vmware installation troubles in Mandriva 2006

#vmware-config.pl


Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

I say "Yes"

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

I "Enter"

The path "/usr/src/linux/include" is not an existing directory.

Ok I Understand I need kernel-source

So I do,

#urpmi kernel-source

This Installs 2.6.12-18mdksmp Source.

After Installing Kernel-source I do,

#vmware-config.pl

I get,

The directory of kernel headers (version 2.6.12-18mdksmp) does not match your
running kernel (version 2.6.12-12mdksmp). Even if the module were to compile
successfully, it would not load into the running kernel.


[root@localhost VMware]# uname -a
Linux localhost 2.6.12-12mdk-i686-up-4GB #1 Fri Sep 9 17:59:21 CEST 2005 i686 Intel(R) Celeron(R) M processor 1.30GHz unknown GNU/Linux

So I now DISABLE updates line on

cat /etc/urpmi/urpmi.cfg


#updates ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/
#official/updates/2006.0/main_updates {
# hdlist: hdlist.updates.cz
# key-ids: 22458a98
# list: list.updates
# synthesis
# update
# with_hdlist: media_info/synthesis.hdlist.cz
#}

and Now again

# urpmi kernel-source

This time it installs the proper source

kernel-source-2.6-2.6.12-12mdk


This time it installs VMware Sucessfully


#vmware-config.pl


Starting VMware services:
Virtual machine monitor [ OK ]
Virtual ethernet [ OK ]
Bridged networking on /dev/vmnet0 [FAILED]
Host-only networking on /dev/vmnet1 (background) [ OK ]
Host-only networking on /dev/vmnet8 (background) [ OK ]
NAT service on /dev/vmnet8 [ OK ]

The configuration of VMware Workstation 5.0.0 build-13124 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team

[root@localhost VMware]#

No comments: