Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How to install VMtools from VMWorkstation 6.0.5 on Guest OS when it will not install from VM>install vmtools

Posted on 2008-10-01
Medium Priority
Last Modified: 2013-11-15
I am using Ubuntu 8.04 Hardy Heron as the host os.  I have installed VMWorkstation 6.0.5 and have also installed Mandriva2008 as the guest os.  After loading the Mandriva virtual machine I go to VM > install VMtools.  I never see the CDROM mount and do not get any errors.  I understand that there is a way to mount VMtools manually however I do not understand how to do this.  I don't believe there is a problem with hardware although I could be wrong. I'm willing to try just about anything.  This is my seventh day at this and I'm just about ready to throw in the towel. I have the User guide.  Any help is much appreciated.  I am willing to provide any additional info.  Thanks.
Question by:Bluesharpman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 38

Expert Comment

ID: 22620689
1. Do you see any prompt window when you go VM > install VMtools
2..as root, run the following command
fdisk -l
to see if there is an disk volume such as /dev/hdc shows up.
If yes, then
mkdir -p /mnt/VMware
mount /dev/hdc /mnt/VMware  (/dev/hdc may vary base on your VMware setting).

Expert Comment

ID: 22621704
Wesly_Chan is on the right track, just a suggestion that will help you use his comment:
Something that has driven me nuts in the past is to make sure that the CDrom device is 'connected at startup' as it seems hit or miss as to wether it is.

1. In the Vmware Workstation administration panel, click on of the newly created mandriva2008 machine
2. In the command section, (right hand side pane), choose 'Edit Virtual machine settings'
3. Log into the Mandriva2008 guest machine via ssh or 'Open console
4. Su to root and do a df -ha
6. Copy and paste the output to a text editor for comparison later
7. Go back to the Vmware workstation Select the CD-ROM device, and make sure that 'Connect at Power on' is checked on if it is not select it and reboot the guest and try the Vmware tools install.
8. Once again do a df -ah and see if anything has changed. If it has, follower the mount point and run the vmware setup

LVL 18

Expert Comment

ID: 22622481
Only in windows guests the vmware tools are installed automatically when you click "Install VMware Tools". For other guests you will need to mount the virtual cd containing the tools (that virtual cd is put in the virtual cd player when clicking Install VMware Tools) and run the installer.

Alternatively, you could also download the open-vm-tools for Mandriva 2008: https://www.msu.edu/~bryndind/open-vm-tools/
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.


Author Comment

ID: 22623620
I thank you all for your assistance.  I'm off to work but will try this when I return.  Frashii, I booted or logged in to Mandriva2008 as I would to use it as a virtual machine.  Do I su to root and do the df -ha from the virtual machine or is the done from the Ubuntu host? Also, connect at power on was previously selected. Wesley, I never see a prompt after attemping to install the vmtools  Larstr, thanks for the tip about vmtools only loading automatically on windows guests.  I didn't know that.  Sorry, just not very adept but willing to learn at this.  Thank you again.
LVL 38

Expert Comment

ID: 22624872
> Do I su to root and do the df -ha from the virtual machine or is the done from the Ubuntu host?
do them on your virtual machine,which is Mandriva2008
Same thing to "fdisk -l" and "mount" commands. Run them on guest machine.

> never see a prompt after attemping to install the vmtools  
I use VMware 6.0.5 on Windows XP hosts and CentOS 5.2 as guest.
When I go VM > install VMtools on CentOS guest, it pops up a window with the following message:
"Installing the VMwarre Tools package will greatly enhance graphics and mouse performance in your virtual machine.
WARNING: You cannot installthe VMware Tools package until the guest operating system is running. If your guest operating system is not running,choose Cancel and install the VMware Tools package later."

This message is telling you the VMware try to mount Vmware tools package image  to your CDROM on your select VM guest. It's behavior similar to put a CD on to your VM guest.

After you click "OK" on the message window, you will seem a line at the end of "dmesg" command output like
ISO 9660 Extensions: RRIP_1991A

I think your CDROM setting is wrong for your Mandriva2008 guest.
1. do not boot up any VM guest. then put a CD into CDROM. do
df -hl
on Ubuntu host to see what is your CDROM device path. i.e.
/dev/hda (/dev/hdc)
This is very important. For Linux host, VMware usually uses /dev/cdrom for VM guest by default.
2. Start VMware workstation and before boot up VM guest. Go to "VM--> Removable Devices --> CD-ROM --> Edit
Then on the "Connection" section, make sure check "Use physical Drive" and the path is matched what show on your Ubuntu host (/dev/hdc or other)
3. It should be ok to check or not check "Connect at power on". You can try both.
4. Then boot up your guest VM to install VMware Tools.

Author Comment

ID: 22630010
Wesley et al.  Thanks again for your help.  I feel like we are so close but not quite there.  I believe you are right about the CDROM setting.  I did the df -hl and found that it is /dev/scd0.   If I start VMWare Workstation and attempt to go to VM--> Removable Devices --> CD-ROM --> Edit, etc. it is unavailable.  VM Removable Devices is only available when the virtual machine has been powered on.  I'm going to attach a picture of what I see for the Virtual Machine Settings Hardware.  Perhaps I'm loading the virtual machine incorrectly.  I say this because if I change information in the Connection section as you've indicated and try to boot the virtual machine it cannot find the boot file.  I've added a couple of images that I hope will help you understand how I've configured the vm hardware. Thanks again.
LVL 38

Expert Comment

ID: 22630593
From your first picture attachment, it seems to me your boot up your Mandriva2008 LiveCD (or LiveImage) on guest.
So your CD-ROM is used by this mandriva2008.iso file and you can not use to install VMware tools.

For LiveCD, you can not install any package on it because it is fixed image.

Please install Mandriva2008 on your VM disk (8GB you allocated) from scratch, nont boot from the LiveCD image, so you can install VMware Tool to get better graphic.

Author Comment

ID: 22633173
Wesley, thanks again for your assistance.  Is there a particular way that I have to go about installing Mandriva2008 or any other linux distribution as a virtual machine?  I mean I see an icon for installing Mandriva2008 on Mandriva's desktop when I boot it as a virtual machine.  Can I install it from there and will it know to use the 8gb that has been allocated for it.  Would it make a difference if I had a copy of Mandriva2008 that wasn't a live image?  I understand what's happening with regard to the use of the CDROM drive in that I can't use it to point to an iso and also use it to load vmtools at the same time.  Thanks again.
LVL 38

Expert Comment

ID: 22633685
> an icon for installing Mandriva2008 on Mandriva's desktop when I boot it as a virtual machine.Can I install it from there

Yes. LiveCD/image allow to install on machine by providing a easy installation method. Such as an icon on desktop.

After install on disk, then you can free up the CD-ROM and install any other software packages.
By the way, I would recommand you give more disk space such as 12GB so you have enough room to install software and play them. If you just want to get familiar with Mandriva2008, then 8GB is good enough because you have Ubuntu as host, another Linux.

Author Comment

ID: 22641733
Wesly, thanks again for your help.  This is what I've done with respect to Mandriva2008.  I did install it as you suggested.  Then I clicked on VM > install vmtools.  This time I was able to see one .rpm and one tar.gz file for vmtools.  I installed the rpm and was given an indication that it was done.  After that I opened up a terminal from Mandriva2008 and ran the following: cd/usr/bin  su vmware-config-tools.pl  Now I'm being asked where "make" resides. That's where the script ended and where I have ended;.
LVL 38

Accepted Solution

wesly_chen earned 2000 total points
ID: 22641794
Vmware-tool configuratioon doesn't detect the precompiled version for your kernel version, so it require development packages such as gcc and make to compile for your kernel.
You need to install gcc and make packages on Mandriva2008.
I haven't use the Mandriva for a while, but I remember it provide the software package management tools.
After boot up Mandriva,run the softwarre package management tool and mount ISO image when it prompt for Mandriva install CD then find gcc and make to install.

Author Closing Comment

ID: 31503101
Wesly, thank very much for sticking with me on this.  Your assistance has been invaluable.   This has been a great learning that looks as though it can go on for a while.  I haven't used Mandriva myself for a while.  This was just an exercise to see how things have progressed with both VMWare and Mandriva.  You've been great.  I may continue with this but I need a break from it.  A lot of work for something I don't really need but I wanted to learn about.  Thank you.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question