Tuesday, March 14, 2017

Laravel/Homestead/Vagrant/Virtualbox Windows 10 Mounting Issue

[homestead-7] GuestAdditions 5.1.16 running --- OK.
==> homestead-7: Checking for guest additions in VM...
==> homestead-7: Setting hostname...
==> homestead-7: Configuring and enabling network interfaces...
==> homestead-7: Mounting shared folders...
    homestead-7: /vagrant => D:/Web/Homestead
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant

The error output from the command was:

: No such file or directory

This is the 5th time I've installed a homestead environemnt but the first time on W10. After 8 hours of messing around I need to ask for help....

Vagrant is set up wherever it is by default on the C: drive. Homestead and my code is the on D: drive. I suspect this may be what's causing the problem...

My Homestead.yaml code is as follows:

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: d:/Web/Code
      to: /home/vagrant/Code

sites:
    - map: pricing.app
      to: /home/vagrant/Code/pricing/public

databases:
    - homestead

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

Any help would be greatly appreciated...



via Sterlingman

Advertisement