Howto: Setup VMWare-tools on Sabayon Linux Guest

0
614

Problem / Outcome Summary

  • VMWare-tools won’t install properly (or at all) on Sabayon Linux by default
  • VMWare says ‘VMWare Tools is not available for this guest’
  • This article will show you how to get around this problem and have a fully functioning set of VMWare-Tools including copy / paste, screen resizing and other sharing functionality.

Why might I want to do this?

  • To enable copy / paste between the guest and host within VMWare
  • To enable automatic screen sizing and resolution adjustments within the VMWare client
  • Improve movement of the mouse in the guest
  • Make the sound work properly in the guest
  • Improve the colour depth of the guest
  • Synchronise the time between the guest and the host

Foreword

VMWare tools are a small set of drivers and enhancements that are installed in the ‘guest’ OS.  This then enables the guest to communicate more efficiently with the host OS and it’s hardware.

Additional resources

The official VMWare tools information can be found here.

Pre-Requisites

Software Dependencies

  • A running VMWare host
  • An active VMWare guest with Sabayon Linux
  • A copy of VMWare tools for linux guests

Hardware Dependencies

  • None

Tools Required

  • None

Other Dependencies

  • A working internet connection

High Level Summary Steps

The below lists the high level summary of steps we’re about to take during this howto.

  • Get a copy of the VMWare tools linux drivers from your host
  • Install the pre-requisites for installation
  • Install and configure the VMWare tools script
  • Reboot Sabayon Linux

Implementation

Get a copy of the VMWare tools linux drivers from your host

  1. Get this

Install the pre-requisites for installation

  1. Ensure your Sabayon linux is up-to-date
  2. Open a console
  3. Become root (su / password)
  4. Enter the following commands
    1. equo install sabayon-sources gcc  binutils (Installs kernel headers, gcc and binutils)
  5. Create the missing rc directories (enter each command as one whole line)
    1. cd /etc/
    2. mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d

Install and configure the VMWare-Tools script

  1. Copy the VMWare-Tools file you obtained earlier to a directory of your choice
  2. Open a Console
  3. Extract and run the VMWare-Tools file
    1. tar -xvf <vmwaretoolsfile>
    2. cd vmware-tools-distrib
    3. ./vmware-install.pl
    4. Accept all defaults and click yes to create directories as requested
    5. If you get errors regarding vmhgfs modules you can ignore them.

Reboot your system

Now restart your system and VMWare-Tools is now installed and working.

  1. Shutdown -r now

That’s it, all done!

Final Word

At time of writing the Sabayon version used was 15.05, this would likely apply to future and previous versions though.

As always, I welcome your insights and opinions in the comments section below.

Marshalleq