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:

Anonymous said...

Keeps asking if I am root. How do I execute as root user?

Anonymous said...

Keeps asking if I am root. How do I execute as root user?

Anonymous said...

Sorry about that last post. I figured it out...

Dan said...

Thanks a bunch this worked great for me.

Anonymous said...

Thanks.

D-Rok said...

it keeps telling me that vmwaretools*.tar.gz doesnt exist. I have done the previous steps

Anonymous said...

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

Anonymous said...

D-Rok...

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

Rich

Anonymous said...

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

Anonymous said...

what if a new kernel comes out -->> doing this again ??

Killer Bee said...

Thanks for this wonderful tip! I will apply it to me cheap vps. :)

Post a Comment