June 1, 2007

Installing VMware Workstation on Ubuntu Feisty (7.04)

Drew Stephens @ 11:43 am — Tags: ,

I found a new, easy process for installing VMware on Ubuntu, having updated the kernel on my Feisty machine since the last time I used the virtual machine. Whenever the kernel changes, VMware needs to rebuild it’s kernel module to suit, via the script vmware-config.pl. This involves a few steps such that VMware can correctly build it’s module against the kernel you’re running. First, you need to grab the headers for your running kernel and set them up to support building:

~$ sudo -i
~# aptitude install linux-headers-uname -r
~# cd /usr/src/
/usr/src# ln -s linux-headers-2.6.20-16-uname -r linux
/usr/src# cd linux
/usr/src/linux# cp /boot/config-uname -r .config
/usr/src/linux# make oldconfig && make prepare0 && make scripts

The above installs the kernel headers for your current kernel (uname -r' gives the running kernel's version), gets the.configfor said kernel and preps the headers per the.config`. Now, on to the VMware part of things.

Installing VMware is really easy, thanks to this patch. You simply need to get the patch, untar and run it; the script included invokes the VMware configurator automatically.

/usr/src# wget http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz
/usr/src# tar zxf vmware-any-any-update109.tar.gz
/usr/src# cd vmware-any-any-update109
/usr/src/vmware-any-any-update109# ./runme.pl

Follow the directions provided by the VMware configuration script (the defaults are safe, but read the information) and you’re done.

Related Posts:

3 Comments »

  1. hi, i tried this but i get stuck here

    root@herot-ubby:/home/herot/Desktop/vmware-any-any-update110# nautilus

    (nautilus:25386): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. Initializing gnome-mount extension root@herot-ubby:/home/herot/Desktop/vmware-any-any-update110# perl runme.pl Unable to open the installer database /etc/vmware/locations in read-mode.

    Execution aborted.

    root@herot-ubby:/home/herot/Desktop/vmware-any-any-update110#

    [Reply]

    Comment by Andrew Graham — June 23, 2007 @ 7:28 am

  2. I’m not sure about the problem you’re having, though a quick search turned up these two discussions on the subject.

    As for VMware, most people will be happy with VMware Server, which Feisty has packages for. For more information on that, see this post on Ubuntu Geek. The quick rundown is that you need to add the commercial repository (deb http://archive.canonical.com/ubuntu feisty-commercial main) to your sources.list, run apt-get update and then install vmware-server along with vmware-tools-kernel-modules.

    [Reply]

    Comment by Drew Stephens — June 23, 2007 @ 7:47 am

  3. Thanks Drew,

    It worked for me straight away.

    [Reply]

    Comment by Ajit Hatti — August 8, 2007 @ 2:07 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress