Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: VMWare Workstation 10 and VMWare Tools Issues

  1. #1

    Default VMWare Workstation 10 and VMWare Tools Issues

    Hi there,

    I'm a newbie to the Linux world; I'm using VMWare Workstation 10 and I have sucessfully installed OpenSuse 13.1 as a guest OS.

    My Host OS is Windows 7 64 bit.

    I followed the steps to Manually install VMWare Tools in a Linus VM and it worked OK and I can see/access my Shared folders in windows.
    This is the link to the steps:
    http://pubs.vmware.com/workstation-1...16CC8166F.html


    My problem is that after installing other packages -through YAST - to OpenSuse, I lose the ability to see my shared folder under hgfs again and
    the only way to resolve this is by re-installing the VMWare tools yet again from scratch.

    Is there a way to fix this such that I don't need to re-install VMWare tools everytime I install a package through YAST?


    Any help will be appreciated.

    Thanks,
    Joey.

  2. #2

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Quote Originally Posted by painter28uk View Post
    I followed the steps to Manually install VMWare Tools in a Linus VM and it worked OK and I can see/access my Shared folders in windows.
    This is the link to the steps:
    http://pubs.vmware.com/workstation-1...16CC8166F.html


    My problem is that after installing other packages -through YAST - to OpenSuse, I lose the ability to see my shared folder under hgfs again and
    the only way to resolve this is by re-installing the VMWare tools yet again from scratch.

    Is there a way to fix this such that I don't need to re-install VMWare tools everytime I install a package through YAST?
    You shouldn't have needed to install the VMWare Tools, as openSUSE comes with open-vm-tools that should be installed by default.
    Did you uninstall them before? You should.

    It is normal that you have to reinstall kernel modules after a kernel update when you installed them manually.

    I would suggest to just uninstall the VMWare Tools again, and reinstall open-vm-tools in YaST->Software Management (right-click on the package and select "Update Unconditionally")

    From the package description:
    Open Virtual Machine Tools (open-vm-tools) are the open sourceimplementation of VMware Tools. They are a set of guest operating
    system virtualization components that enhance performance and user
    experience of virtual machines. As virtualization technology rapidly
    becomes mainstream, each virtualization solution provider implements
    their own set of tools and utilities to supplement the guest virtual
    machine. However, most of the implementations are proprietary and are
    tied to a specific virtualization platform.
    With the Open Virtual Machine Tools project, we are hoping to solve
    this and other related problems. The tools are currently composed of
    kernel modules for Linux and user-space programs for all VMware
    supported Unix-like guest operating systems. They provide several
    useful functions like:
    * File transfer between a host and guest
    * Improved memory management and network performance under
    virtualization
    * General mechanisms and protocols for communication between host and
    guests and from guest to guest

  3. #3

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Hi there,

    Thanks for the response wolfi323. I've now installed/re-installed open-vm-tools.

    Question: after installing
    open-vm-tools, how do I access my share folder - do I just look under /mnt/ folder or do I need to do something else?


    Thanks and regards,

  4. #4

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Quote Originally Posted by painter28uk View Post
    Hi there,

    Thanks for the response wolfi323. I've now installed/re-installed open-vm-tools.

    Question: after installing
    open-vm-tools, how do I access my share folder - do I just look under /mnt/ folder or do I need to do something else?
    open-vm-tools should work exactly the same as the VMWare Tools, since they are in fact the same just re-released under an Open Source License.

    I never used them myself, so I'm not completely sure, but you would either mount shared folders with "mount" or add them to /etc/fstab I guess.

    Apparently running "vmware-hgfsclient" should list all your shares.
    And by adding the following to /etc/fstab they should show up under /mnt/hgfs/ automatically:
    Code:
    .host:/ /mnt/hgfs vmhgfs defaults 0 0
    (You would have to create the directory /mnt/hgfs yourself though I think)

    See also here:
    http://pubs.vmware.com/workstation-1...8201B1758.html

    I don't have a working VMWare installation at the moment so I can't try. (I'm using VirtualBox mostly... )
    If I manage to compile the VMWare kernel modules on 3.11.10 (it's always a hassle to hunt down a patch for newer kernels), I may have a look though.
    Last edited by wolfi323; 25-Feb-2014 at 15:18.

  5. #5

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    So....I've added the below line verbatim to my /etc/fstab:
    Code:
    .host:/ /mnt/hgfs vmhgfs defaults 0 0


    The problem is OpenSuse won't start up; all I get is the OpenSuse loading screen - the one with the chameleon.

    Is there a way to startup in a "safe-mode" manner and revert/[correct - if need be] the changes to my /etc/fstab ?

    Thanks and regards,

  6. #6

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Quote Originally Posted by painter28uk View Post
    So....I've added the below line verbatim to my /etc/fstab:
    Code:
    .host:/ /mnt/hgfs vmhgfs defaults 0 0


    The problem is OpenSuse won't start up; all I get is the OpenSuse loading screen - the one with the chameleon.

    Sorry, I just copy/pasted that from the VMWare manual.
    Have you tried to press ESC or Ctrl+Alt+F1 when it's stuck at the splash screen?

    Is there a way to startup in a "safe-mode" manner and revert/[correct - if need be] the changes to my /etc/fstab ?

    Actually you should get to "emergency mode" in such a case, but there may be a bug that prevents that in certain circumstances. (one such bug has been fixed recently AFAIK, but there's no update yet for openSUSE 13.1)

    In any case, to get to a minimal repair system, just add "init=/bin/sh" to the boot options:
    Press 'e' at the boot menu, search for a line starting with "linux" and append "init=/bin/sh" at the end. Then press 'F10' to boot.
    You should get to a text mode prompt then where you can edit your fstab. (this also comes in handy should you forget your root password... )

    As for mounting shares in VMWare I cannot help you more at the moment.
    I'll try to get VMWare running and test this, but I'm not sure yet how long that will be...

    Maybe someone else has a hint in the meantime?
    Last edited by wolfi323; 26-Feb-2014 at 01:01.

  7. #7

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    The Ctrl+Atl+F1 or Esc doesn't work - as it immediately takes me to the loading screen. Surely, there has to be a way in OpenSuse to boot to the command prompt from VMWare workstation or VirtualBox.

    Anyway, you've been great with the help wolfi323.


    Thanks and regards,
    Joey

  8. #8

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Quote Originally Posted by painter28uk View Post
    Surely, there has to be a way in OpenSuse to boot to the command prompt from VMWare workstation or VirtualBox.
    Yes, as I said:
    Press 'e' at the boot menu, search for a line starting with "linux" and append "init=/bin/sh" at the end. Then press 'F10' to boot.

    You should get to a text mode prompt then where you can edit your fstab. (this also comes in handy should you forget your root password... )

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Hey guys...

    - Setup your VMware Shares on the Host in the Guest Config > Options
    - Note that when you clone a VM, although the shared folders may be enabled, they will be disabled on first boot (simply re-enable in the Guest config)
    - <Do Not> enable your shared directories in fstab. It's unnecessary and has unpredictable consequences. Instead, by simply doing the above, systemd invokes and mounts the shared directories as part of mount.target (although I haven't traced the entire way implemented, I know that it starts with mount.target for a fact) If Shared Directories is supported with your installed version of VMware Tools, configuring shared directories and enabling/disabling can be a runtime modification (don't have to reboot the Guest).
    - You should never need to invoke vm-tools from the command line. Watch your boot, you will see it enabled then and it will continue to do it's good stuff without your interaction.

    If you setup VMware Tools correctly, all of the above should "just work"
    If you run into any fundamental problem (eg shares <really> not working), then the simplest fix is to just re-run the perl script re-installing VMware tools, <accepting all the defaults>. And afterwards, everything should be working again. Always make sure that the version of Tools is consistent with the Host version. This should be the case if you install from the OSS repos. If you install from a VMware package, then just make sure you point to the Tools ISO image that's part of the downloaded package (don't go looking for an ISO from somewhere else).

    HTH, and all above strongly recommended over the things I see in this thread,
    TSU

  10. #10

    Default Re: VMWare Workstation 10 and VMWare Tools Issues

    Guys,

    I'm not even getting a prompt to put in my password - so hitting the e or even the Esc key only shows a brief message about "systemctl default" and then instantly switches back to the boot screen.

    I do have a backup of my VM which I can use, but I sure would like to know how to overcome this and be able to enter my password and make changes.

    Kind regards,
    Joey.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •