vmrun enableSharedFolders fails: Must manually create "/mnt/hgfs" first

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

vmrun enableSharedFolders fails: Must manually create "/mnt/hgfs" first

Lucas Rangit Magasweran
I'm using the Vagrant box "ainfamoussyn/vagrant-vmware-xenial64" because there's no Ubuntu 16.04 box with "vmware_workstation" tag. For some reason, I have to manually create the directory "/mnt/hgfs" for shared folders to work and not fail setup during provisioning. The error is below. I knew to create this directory before of the vmtoolsd error in syslog.

==> default: Enabling and configuring shared folders...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["enableSharedFolders", "/home/lucasmagasweran/src/vagrant-getting_started/.vagrant/machines/default/vmware_workstation/0a0112d3-c066-4941-bf89-0fcbc5f7df73/vagrant-vmware-xenial64.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: There was an error mounting the Shared Folders file system inside the guest operating system

Stderr:



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vmrun enableSharedFolders fails: Must manually create "/mnt/hgfs" first

Alvaro Miranda Aguilera
that should be in the VM.

Try these ones:




On Tue, Oct 31, 2017 at 1:37 AM, Lucas Rangit Magasweran <[hidden email]> wrote:
I'm using the Vagrant box "ainfamoussyn/vagrant-vmware-xenial64" because there's no Ubuntu 16.04 box with "vmware_workstation" tag. For some reason, I have to manually create the directory "/mnt/hgfs" for shared folders to work and not fail setup during provisioning. The error is below. I knew to create this directory before of the vmtoolsd error in syslog.

==> default: Enabling and configuring shared folders...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["enableSharedFolders", "/home/lucasmagasweran/src/vagrant-getting_started/.vagrant/machines/default/vmware_workstation/0a0112d3-c066-4941-bf89-0fcbc5f7df73/vagrant-vmware-xenial64.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: There was an error mounting the Shared Folders file system inside the guest operating system

Stderr:



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewZnF4-ND1E6P90rVysCDfFXNYfZLuEcgpJoo44um%3DWJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vmrun enableSharedFolders fails: Must manually create "/mnt/hgfs" first

Lucas Rangit Magasweran
Alvaro,

The issue does not occur with those Vagrant boxes. The directory /mnt/hgfs exists on boot and /vagrant is mounted and working.

Thanks for the tip. Unfortunately those boxes are server images and don't include a GUI. I'll try to find a different box.

On Tuesday, October 31, 2017 at 2:51:16 AM UTC-7, Alvaro Miranda Aguilera wrote:
that should be in the VM.

Try these ones:

<a href="https://app.vagrantup.com/cbednarski" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fapp.vagrantup.com%2Fcbednarski\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFL8hZaQl6ea7EosjXAgmPI086QBg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fapp.vagrantup.com%2Fcbednarski\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFL8hZaQl6ea7EosjXAgmPI086QBg&#39;;return true;">https://app.vagrantup.com/cbednarski



On Tue, Oct 31, 2017 at 1:37 AM, Lucas Rangit Magasweran <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="rq5tMKOSCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">external+grou...@magasweran.com> wrote:
I'm using the Vagrant box "ainfamoussyn/vagrant-vmware-xenial64" because there's no Ubuntu 16.04 box with "vmware_workstation" tag. For some reason, I have to manually create the directory "/mnt/hgfs" for shared folders to work and not fail setup during provisioning. The error is below. I knew to create this directory before of the vmtoolsd error in syslog.

==> default: Enabling and configuring shared folders...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["enableSharedFolders", "/home/lucasmagasweran/src/vagrant-getting_started/.vagrant/machines/default/vmware_workstation/0a0112d3-c066-4941-bf89-0fcbc5f7df73/vagrant-vmware-xenial64.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: There was an error mounting the Shared Folders file system inside the guest operating system

Stderr:



--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="rq5tMKOSCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/23974fca-968c-4d5a-b8e1-ad4078df28d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vmrun enableSharedFolders fails: Must manually create "/mnt/hgfs" first

Alvaro Miranda Aguilera
Hello

Packer.io is a tool that can create vagrant boxes.

You can use vmware-vmx to start from a VM, create the directory with a provisioner and package them again.


then later you can create your own custom box from iso if needed.

Alvaro


Virusvrij. www.avast.com

On Tue, Oct 31, 2017 at 10:30 PM, Lucas Rangit Magasweran <[hidden email]> wrote:
Alvaro,

The issue does not occur with those Vagrant boxes. The directory /mnt/hgfs exists on boot and /vagrant is mounted and working.

Thanks for the tip. Unfortunately those boxes are server images and don't include a GUI. I'll try to find a different box.

On Tuesday, October 31, 2017 at 2:51:16 AM UTC-7, Alvaro Miranda Aguilera wrote:
that should be in the VM.

Try these ones:




On Tue, Oct 31, 2017 at 1:37 AM, Lucas Rangit Magasweran <external+grou...@magasweran.com> wrote:
I'm using the Vagrant box "ainfamoussyn/vagrant-vmware-xenial64" because there's no Ubuntu 16.04 box with "vmware_workstation" tag. For some reason, I have to manually create the directory "/mnt/hgfs" for shared folders to work and not fail setup during provisioning. The error is below. I knew to create this directory before of the vmtoolsd error in syslog.

==> default: Enabling and configuring shared folders...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["enableSharedFolders", "/home/lucasmagasweran/src/vagrant-getting_started/.vagrant/machines/default/vmware_workstation/0a0112d3-c066-4941-bf89-0fcbc5f7df73/vagrant-vmware-xenial64.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: There was an error mounting the Shared Folders file system inside the guest operating system

Stderr:



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/452b41b5-2a8e-45ab-b29f-7d0d1ea415bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/23974fca-968c-4d5a-b8e1-ad4078df28d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezgqBcmo5Ps8_5AOENRV%2B7u7VRdV9t%3DpxoVdRPQqx%2BOLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.