Personal tools
You are here: Home Open Source && Programming && Life VMWare Server v1.04 on Hardy

VMWare Server v1.04 on Hardy VMWare Server v1.04 on Hardy

Document Actions
Submitted by ironstorm. on 2008-06-14 17:26. Kubuntu/UbuntuLinux
VMWare Server package install from Gutsy was broken as a result of upgrading to Hardy and Linux 2.6.24 kernel... This is how to make it right again.

Needed to get my VMWare Server install running in Hardy.   It broke sometime during the Gutsy -> Hardy upgrade when we got the 2.6.24 kernel series...

Since I hope that VMWare will eventually package up a new release,  I really didn't want to muck around too much with uninstalling and reinstalling from tarballs...

The solution was to use patches found on the vmware community forum to quickly patch up the vmware modules and install them into the kernel modules dir.

vmware-server-1.04-hardy-fix.sh - Updated: fixed mkdir line by adding sudo 2008-07-27

#!/bin/bash
# created from instructions @ http://communities.vmware.com/thread/121847

vmware_source_path=/usr/lib/vmware-server/modules/source
vmware_patches_path=.

cp ${vmware_patches_path}/vm{mon,net}-2.6.24.patch /tmp
cd /tmp
for dir in vm{mon,net}; do
tar xf ${vmware_source_path}/${dir}.tar

cd ${dir}-only
patch -p1 < ../${dir}-2.6.24.patch # patch the module source
make && sudo mkdir /lib/modules/`uname -r`/vmware-server/ # make the modules dir
sudo cp *.ko /lib/modules/`uname -r`/vmware-server/ # copy the modules
cd ..

# tar cf ${dir}.tar ${dir}-only
# sudo cp ${dir}.tar ${vmware_source_path}
done

sudo depmod -a # make the modules visible to the kernel

sudo /etc/init.d/vmware-server stop # restart vmware services
sudo /etc/init.d/vmware-server start #
Here's the original Ubuntu repo for VMWare server 1.04 on Gutsy btw:
## Uncomment the following two lines to add software from Canonical's 'partner' repository. 
## This software is not part of Ubuntu, but is offered by Canonical and the respective vendors
## as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu gutsy partner
Blog
« October 2008 »
Su Mo Tu We Th Fr Sa
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Categories:
Best Practices (0)
Cooking (2)
EeePC (1)
Embedded (3)
HDTV (2)
Health (1)
J2EE (1)
Java (6)
Linux (24)
Movies (1)
Music (3)
MythTV (10)
NSLU2 (2)
Not Tech (11)
Plone (2)
Politics (2)
QEMU (4)
Tomcat (1)
Tooling (4)
Travel (1)
VoIP (1)
Websphere (1)
Windows (6)
Zaurus (4)
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: