A Linux guest in VMWare is pretty common. And I think the most commong reason for installing VMWare Tools into the guest is to improve graphics performance and allow mouse tracking (so you can slide in and out of the guest window with Ctrl + Alt clicking).

But if you use Linux Guests for servers, you probably have a console only install. One problem we’ve found is that VMWare does not initiate an ACPI shutdown call when you power off from the VMWare Console. The option is there in the Virtual Machine settings (Power -> “Shutdown Guest OS” / “Power Off”), but it doesn’t do anything unless you have the VMWare tools installed.

Generic installation instructions for VMWare Tools into Debian Linux guest OS:

The “Install VMWare Tools” option from the VMWare Console just remaps the guest CDROM to the local host ISO of the tools.

Typically, the tools need to build the kernel module (at least, I’ve never used a kernel that they support properly). So, from console Debian, as root:

1. apt-get install linux-image-2.6-686
2. apt-get install linux-headers-2.6-686
3. shutdown -r now (to activate the new kernel)
4. mount /cdrom
5. cp /cdrom/*.tar.gz ~/
6. cd
7. tar -xvzf vmware…tar.gz
8. cd vmware-tools-distrib/
9. perl ./vmware-install.pl
10. Spam enter key
11. shutdown -r now (to activate vmxnet)
12. Complete ;)

Written on May 16th, 2008 , Informative

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

COMMENTS
  1. Spanky commented

    I use the internet moniker Sir Spanky too on pretty much every message board/sign up website. Good choice!

    June 7, 2008 at 6:15 pm

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia