Tuesday, December 10, 2019

Howto: Setup VMWare-tools on Sabayon Linux Guest

[vc_tta_tabs active_section=”1″ pagination_style=”outline-square”][vc_tta_section title=”Summary” tab_id=”1483657727692-588765df-8139e50c-cffe60ab-0c6f”][vc_custom_heading text=”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
[/vc_tta_section][vc_tta_section title=”Foreword” tab_id=”1483656936153-fec58c10-e606e50c-cffe60ab-0c6f”][vc_custom_heading text=”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.

[/vc_tta_section][vc_tta_section title=”Pre-Requisites” tab_id=”1483656936239-1facad3b-9216e50c-cffe60ab-0c6f”][vc_custom_heading text=”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
[/vc_tta_section][vc_tta_section title=”Summary Steps” tab_id=”1483657008528-9fc62da7-5742e50c-cffe60ab-0c6f”][vc_custom_heading text=”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
[/vc_tta_section][vc_tta_section title=”Implementation” tab_id=”1483657023013-0e8f9bfb-cd0fe50c-cffe60ab-0c6f”][vc_custom_heading text=”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!

[/vc_tta_section][vc_tta_section title=”Final Word” tab_id=”1483657035357-36e2d8d1-b325e50c-cffe60ab-0c6f”][vc_custom_heading text=”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

[/vc_tta_section][/vc_tta_tabs]

Popular Articles

Raspberry Pi 3

Raspberry Pi Disk Images – Definitive List

This page attempts to list all the Raspberry Pi disk images known to currently exist from around the web, providing direct links to download...
Raspberry Pi Audio Hardware

Raspberry Pi audio HAT’s (Hardware Attached on Top) – Definitive List

Summary Back in July 2014, Raspberry Pi announced the then new, Raspberry Pi 2 followed soon after by the announcement of HaTs (Hardware Attached on...
How to set Plex permissions on Linux / NAS devices

How to set Plex permissions on linux or NAS devices

Problem / Outcome SummaryThis how to guide will show you how to properly set up Linux file permissions for Plex Media Server Please...
How to set up Plex on Raspberry Pi 2 or Raspberry Pi 3

How to Install Official Plex Media Player on Raspberry Pi 2 / Pi 3

This ‘How To’ article will show you step by step how to set up and install the official Plex Media Player on a...
Plex Media Server

How to install Plex Media Server on Ubuntu Server Headless

This howto will enable you to install the Plex Media Server on Ubuntu Server For how to install Plex Media Server on another...

Related Stories

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay on op - Ge the daily news in your inbox