Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMWare Fusion & HGFS kernel module not found #3904

Closed
radeksimko opened this issue May 26, 2014 · 1 comment
Closed

VMWare Fusion & HGFS kernel module not found #3904

radeksimko opened this issue May 26, 2014 · 1 comment

Comments

@radeksimko
Copy link
Member

If I want to bring up a halted VM with a VMWare Fusion provider and forget about specifying the --provider option, Vagrant apparently detect the provider, but it doesn't start the VM correctly anyway:

radeksimko@my-mac:personal-mac $ vagrant up
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
==> default: Waiting for the VM to finish booting...
==> default: The machine is booted and ready!
==> default: Forwarding ports...
    default: -- 22 => 2222
==> default: Configuring network adapters within the VM...
==> default: Waiting for HGFS kernel module to load...
The HGFS kernel module was not found on the running virtual machine.
This must be installed for shared folders to work properly. Please
install the VMware tools within the guest and try again. Note that
the VMware tools installation will succeed even if HGFS fails
to properly install. Carefully read the output of the VMware tools
installation to verify the HGFS kernel modules were installed properly.

If I halt the machine and bring it up again with vagrant up --provider=vmware_fusion, everything (HGFS) works well again.

I haven't dived into the code yet, but it looks like some parts of Vagrant can detect the provider and react accordingly and some not.

@mitchellh
Copy link
Contributor

The detection is very simple:

lsmod | grep -i hgfs

The HGFS module in VMware is flaky and very often doesn't come up cleanly on first boot depending on how the system is configured. I've reported this to VMware but haven't heard back yet. Ultimately, not an issue that Vagrant can help with yet as far as I know. Sorry!

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants