09 June 2008

Installing VMware tools in Ubuntu 8.04 (hardy)

So like me you've been hanging out for another Long Term Support (LTS) Ubuntu release and having arrived last month (8.04) you've got it up and running in VMware (Fusion in my case).

To make VMware tools install you need to:
  • Virtual Machine->Install VMware Tools (that's the easy part)
  • apt-get install build-essential linux-headers-$(uname -r)
  • mount /cdrom
  • cd /cdrom
  • cp VMwareTools*.tar.gz /tmp
  • cd /tmp
  • tar xzf VMwareTools*
  • cd vmware-tools-distrib
  • ./vmware-install.pl
  • Press enter for everything until it won't go any further because it wants the real location of your kernel headers. Give it '/lib/modules/2.6.24-16-server/build/include' and then keep pressing enter again until you get back to your prompt.
VMware Tools should start up (except perhaps for the advanced networking guff).

Update: Added extraction steps.
Update: The same process works for Debian 4.0 (etch)

11 comments:

  1. Keeps asking if I am root. How do I execute as root user?
    ReplyDelete
  2. Keeps asking if I am root. How do I execute as root user?
    ReplyDelete
  3. Sorry about that last post. I figured it out...
    ReplyDelete
  4. Thanks a bunch this worked great for me.
    ReplyDelete
  5. it keeps telling me that vmwaretools*.tar.gz doesnt exist. I have done the previous steps
    ReplyDelete
  6. Good post Sam,

    You may want to change the apt-get line to read:

    apt-get install build-essential linux-headers-$(uname -r) instead so as the kernel and headers move forward your article doesn't fall out of scope.

    Rich
    ReplyDelete
  7. D-Rok...

    It's case sensitive... it's VMwareTools*.tar.gz

    Rich
    ReplyDelete
  8. Great guide...I spent 12 hours trying to find how to get VMware Tools working in 8.04 and this is the first one that worked...and it was simple...thank you...much appreciated.

    Charlie
    ReplyDelete
  9. what if a new kernel comes out -->> doing this again ??
    ReplyDelete
  10. Thanks for this wonderful tip! I will apply it to me cheap vps. :)
    ReplyDelete