Badges

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Install VMware Tools in SUSE without installing additional packages

Installing VMware tools on Linux virtual machines can be challenging compared to installing the tools on Windows VMs. Unfortunately the differences of various different Linux distributions do not allow a universal point and click installer to be created. Each distribution has package dependencies that must be met, and those packages are installed by different means in their respective operating systems.

In my experience a few of the Linux operating systems will complete the tools install without pre-installing the dependencies. SUSE has been one of these distributions. It seems more and more companies are both performing P2V migrations of SUSE servers or building new VMs with the OS. This fact, in turn, means that understanding how to install VMware Tools in the SUSE OS has become a more frequently asked question. I wrote the following tutorial for a client running openSUSE. Although this was written for the open source version, use this post as an example for VMware Tools installation on SLES and other Linux distributions as well.

This openSUSE VMware Tools installation tutorial installs the base code to establish VMware Tools communication with VirtualCenter. To enable the complete VMware Tools feature set the gcc, binutils, make, and kernel source packages must be installed prior to running the vmware-configure-tools.pl script. This tutorial does not explain how to install these packages, but instead explains how to complete the VMware Tools install without them. This tutorial was written for a openSUSE server using the KDE desktop.

Users with IE6 and IE7 may have trouble viewing the table format and screenshots of this post so I am providing a .pdf version downloadable here.

Try to install VMware Tools using VM Menu of VI Client image001
Click OK image002
Error mounting VMware Tools ISO.

A general system error occurred: Internal error

image003
Use Winscp to find Linux vmtools ISO on the ESX host

/vmimages/tools-ISO

image004
Copy all .ISO files to workstation. (for easy use during later tools installs) image005
Manually mount the Linux VMware Tools .ISO on the openSUSE VM from your workstation

Device type

Click client device

image006
Click Connect CD/DVD to mount .ISO in VM. Choose connect to ISO image image007
Browse to folder on workstation and select the Linux.ISO image008
openSUSE mounts .ISO as CDrom and prompts what to do

Open in new window

image009
New window with contents of Linux.ISO CDrom

Open Konsole

image010
Copy VMware Tools. xxx .rpm file to openSUSE server.

Copy to /root

image011
Double click copied .rpm file.

Choose to install file with Yast

image012
Reading installed packages image013
Downloading and extracting

When complete click finish

image014
It may be wise to take VM snapshot before installing VMware Tools. Be sure to remove snapshot when done.

Use Konsole to run extracted vmware-config-tools.pl script

image015
Hit enter for default “yes” on try to build the vmmemtcl module.

NOTE:Hitting enter at all prompts will use default answers

image016
If unable to find “make” program change response to “no” to specify location and hit enter image017
Pay attention to messages at various prompts or pauses as they explain which packages are missing and need to be installed.

Hit enter after reviewing

Packages needed are:Gcc, Binutils, Make,  and Kernel sources

image018
Hit enter to answer default “yes” to attempt to build vmhgfs for your running kernel image019
If none of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel, change answer to “no” and hit enter

Package needed is gcc

image020
Hit enter to continue after reviewing info about vmhgfs and shared folder feature image021
Vmxnet needs a c compiler. If you have not already installed gcc and make packages change response to no and hit enter image022
After reviewing info about the vmxnet fast network driver hit enter. image023
Change response to “no” for vmblock prompt and hit enter image024
Review info about the vmblock drag and drop feature and hit enter when ready to continue. image025
Choose display size of VM desktop.

Default choice is “[3]”: “1024×768”

Hit enter to accept default or enter number of preferred display size.

image026
Install complete

Must restart x session for changes to take effect

Vmware-toolbox command information notice

image027
Run vmware-toolbox

Click time synchronization option from VMware Tools Properties window

Click Close

image028
Reboot VM to enable all changes image029
Use VI Client to confirm VMware Tools OK for VM

Remember to remove any snapshots

image030

Related Posts

  • http://www.vm4.ru Mikhail

    Please check link and pdf – I couldn’t open it with message “file corrupted”

  • http://www.vm4.ru Mikhail

    Please check link and pdf – I couldn’t open it with message “file corrupted”

  • http://vmetc.com rbrambley

    Mikhail,

    Fixed the download link. Let me know if you still have issues.

    Thanks for pointing it out!

  • http://www.vmetc.com Rich

    Mikhail,

    Fixed the download link. Let me know if you still have issues.

    Thanks for pointing it out!

  • http://vmetc.com rbrambley

    I cleaned up the .pdf version of this tutorial to make it smaller, so the screen shots in this post do not match the screen shots in the .pdf. The .pdf contains cropped versions of the post images. Higher compression was also used on the .pdf images. All in all, the .pdf is still readable, but the images are reduced for downloading.

    -Rich

  • http://www.vmetc.com Rich

    I cleaned up the .pdf version of this tutorial to make it smaller, so the screen shots in this post do not match the screen shots in the .pdf. The .pdf contains cropped versions of the post images. Higher compression was also used on the .pdf images. All in all, the .pdf is still readable, but the images are reduced for downloading.

    -Rich

  • Pingback: ????????????? : ????????? VMware Tools ?? Suse

  • Jon Dear

    Hi, I can’t read the images, they’re very blurry. You don’t have a better quality version I could download, do you? Looks like a good tutorial, but I can’t read this OR the downloadable pdf, sadly they’re just too blurry. Thanks, Jon

  • Jon Dear

    Hi, I can’t read the images, they’re very blurry. You don’t have a better quality version I could download, do you? Looks like a good tutorial, but I can’t read this OR the downloadable pdf, sadly they’re just too blurry. Thanks, Jon

  • http://vmetc.com rbrambley

    John,

    I had to reduce image quality to keep the file small for bandwidth limitations. In my .pdf reader I can increase the zoom and read the images. Have you tried that? The screenshots are still fuzzy, but readable.

  • http://vmetc.com Rich

    John,

    I had to reduce image quality to keep the file small for bandwidth limitations. In my .pdf reader I can increase the zoom and read the images. Have you tried that? The screenshots are still fuzzy, but readable.

Get My Podcast On iTunes!
Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo