Tuesday, July 1, 2008

VMWare Server Fix

I managed to find a solution to my previous problem after updating my Ubuntu. It's quick and it also retains all the states of the virtual machines ^^

https://answers.launchpad.net/ubuntu/+question/36849

And just in case the link ever dies:

sudo apt-get install vmware-server-kernel-source
cd <temp dir>
tar xvjf /usr/src/vmware-server.tar.bz2
cd modules/vmware-server-kernel/
export KPKG_DEST_DIR=<where the deb package should go> # otherwise fakeroot won't work
export KVERS=`uname -r`
fakeroot debian/rules binary-modules
sudo dpkg -i $KPKG_DEST_DIR/vmware-server-kernel-modules-`uname -r`*.deb
cd -
rm -r modules
sudo /etc/init.d/vmware-server restart

Enjoy!


W

No comments: