This article is a step-by-step guide of VMware-server 2.0.2 installation on Ubuntu Linux Lucid Lynx 10.04. This guide assumes that a reader already obtained a copy of VMware-server 2.0.2 installation pack along with valid serial number. All commands below are executed as root user. To change to root user use:

$ sudo bash


  • 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
  • gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
  • VMware-server-2.0.2-203138.i386.tar.gz

1. Step 1: Install prerequisites

# apt-get install build-essential linux-headers-`uname -r`

2. Step 2: Apply patch to VMware-server-2.0.2

Before we attempt to install VMware-server 2.0.2 on a Ubuntu 10.04 we need to apply patch to VMserver modules and file. In this step we will decompress a VMware-server 2.0.2 installation pack and apply this patch. Lte's start by decompressing VMware-server 2.0.2 installation pack VMware-server-2.0.2-203138.i386.tar.gz.

# tar xzf VMware-server-2.0.2-203138.i386.tar.gz

Download patch ( Patch provided by: Ramon de Carvalho Valle ):

# wget

Decompress patch:

# tar xzf vmware-ubuntu-10.04.patch.tar.gz

First, we apply a patch to all modules:

# cd vmware-server-distrib/lib/modules/source/
# for f in *.tar ; do tar pxf $f ; done
# cd ~/vmware-server-distrib/
patch -p1 < ~/vmware-server2.patch
patching file lib/modules/source/vmci-only/include/pgtbl.h
patching file lib/modules/source/vmnet-only/vnetUserListener.c
patching file lib/modules/source/vmci-only/Makefile
patching file lib/modules/source/vmmon-only/common/vmx86.c
patching file lib/modules/source/vmmon-only/include/compat_cred.h
patching file lib/modules/source/vmmon-only/include/x86svm.h
patching file lib/modules/source/vmmon-only/linux/driver.c
patching file lib/modules/source/vmmon-only/linux/hostif.c
patching file lib/modules/source/vmmon-only/Makefile
patching file lib/modules/source/vmnet-only/Makefile
patching file lib/modules/source/vmnet-only/netif.c
patching file lib/modules/source/vsock-only/Makefile

gzip all modules:

# cd ~/vmware-server-distrib/lib/modules/source/
# for f in vmci vmmon vmnet vsock ; do tar pcf $f.tar $f-only ; done
# rm -fr *-only

Apply patch to

# cd 
# patch vmware-server-distrib/bin/ vmware-config.patch 
patching file vmware-server-distrib/bin/

3. Step 3: Install VMware-server

At this stage everything is ready for VMware-server installation.When you will be during the vmware-server installation asked:

"Would you like to specify a different administrator?"

answer YES and enter your username. Otherwise root will by and administrator of you VMware-server installation.

# cd ~/vmware-server-distrib/
# ./

After successful VMware-server installation you should see:


--the VMware team

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family:                           done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                   done
   Host-only networking on /dev/vmnet1 (background)                    done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet8 (background)                    done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   VMware Server Authentication Daemon (background)                    done
   Shared Memory Available                                             done
Starting VMware management services:
   VMware Server Host Agent (background)                               done
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                                    done

The configuration of VMware Server 2.0.2 build-203138 for Linux for this 
running kernel completed successfully.

4. Troubleshooting:


make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.


You need to apply patch as described above in Step 2.

Free Linux eBooks

Go to top