VMWare Server v1.04 on Hardy
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/bashHere's the original Ubuntu repo for VMWare server 1.04 on Gutsy btw:
# 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 #
## 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