Vagrant + Homestead + HyperV

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

Vagrant + Homestead + HyperV

Dacian Bujor
Hi, i am trying to run the Laravel Homestead image on my windows 10 host machine. I added the hyperV Homestead image, and made the changes needed to run vagrant HyperV provider. But when ever i try to run the box i get a SMB shared folder error: 

Bringing machine 'homestead-7' up with 'hyperv' provider...
==> homestead-7: Verifying Hyper-V is enabled...
==> homestead-7: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> homestead-7: flag to force provisioning. Provisioners marked to run always will still run.
PS C:\Users\Dacian Bujor\Homestead> vagrant reload
==> homestead-7: Attempting graceful shutdown of VM...
==> homestead-7: Starting the machine...
==> homestead-7: Waiting for the machine to report its IP address...
    homestead-7: Timeout: 120 seconds
    homestead-7: IP: 192.168.1.249
==> homestead-7: Waiting for machine to boot. This may take a few minutes...
    homestead-7: SSH address: 192.168.1.249:22
    homestead-7: SSH username: vagrant
    homestead-7: SSH auth method: private key
==> homestead-7: Machine booted and ready!
==> homestead-7: Preparing SMB shared folders...
    homestead-7: You will be asked for the username and password to use for the SMB
    homestead-7: folders shortly. Please use the proper username/password of your
    homestead-7: Windows account.
    homestead-7:
    homestead-7: Username: Dacian Bujor
    homestead-7: Password (will be hidden):
==> homestead-7: Setting hostname...
==> homestead-7: Mounting SMB shared folders...
    homestead-7: C:/Users/Dacian Bujor/Homestead => /vagrant
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

PASSWORDHIDDENmPASSWORDHIDDENoPASSWORDHIDDENuPASSWORDHIDDENnPASSWORDHIDDENtPASSWORDHIDDEN PASSWORDHIDDEN-PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDENcPASSWORDHIDDENiPASSWORDHIDDENfPASSWORDHIDDENsPASSWORDHIDDEN PASSWORDHIDDEN-PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDENuPASSWORDHIDDENiPASSWORDHIDDENdPASSWORDHIDDEN=PASSWORDHIDDEN1PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN,PASSWORDHIDDENgPASSWORDHIDDENiPASSWORDHIDDENdPASSWORDHIDDEN=PASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN0PASSWORDHIDDEN,PASSWORDHIDDENsPASSWORDHIDDENePASSWORDHIDDENcPASSWORDHIDDEN=PASSWORDHIDD
PASSWORDHIDDENtPASSWORDHIDDENlPASSWORDHIDDENmPASSWORDHIDDEN,PASSWORDHIDDENcPASSWORDHIDDENrPASSWORDHIDDENePASSWORDHIDD
PASSWORDHIDDENePASSWORDHIDDENnPASSWORDHIDDENtPASSWORDHIDDENiPASSWORDHIDDENaPASSWORDHIDDENlPASSWORDHIDDENsPASSWORDHIDD
PASSWORDHIDDEN/PASSWORDHIDDENePASSWORDHIDDENtPASSWORDHIDDENcPASSWORDHIDDEN/PASSWORDHIDDENsPASSWORDHIDDENmPASSWORDHIDD
PASSWORDHIDDEN_PASSWORDHIDDENcPASSWORDHIDDENrPASSWORDHIDDENePASSWORDHIDDENdPASSWORDHIDDENsPASSWORDHIDDEN_PASSWORDHIDD
PASSWORDHIDDEN3PASSWORDHIDDEN4PASSWORDHIDDENcPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENcPASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDD
PASSWORDHIDDENdPASSWORDHIDDEN2PASSWORDHIDDENfPASSWORDHIDDEN9PASSWORDHIDDENdPASSWORDHIDDEN8PASSWORDHIDDENdPASSWORDHIDD
PASSWORDHIDDEN5PASSWORDHIDDENbPASSWORDHIDDEN8PASSWORDHIDDEN8PASSWORDHIDDENcPASSWORDHIDDEN9PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDEN/PASSWORDHIDDEN/PASSWORDHIDDEN1PASSWORDHIDDEN9PASSWORDHIDDEN2PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN8PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDDEN2PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDENdPASSWORDHIDDEN3PASSWORDHIDDEN4PASSWORDHIDDENcPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENcPASSWORDHIDD
PASSWORDHIDDENfPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDENdPASSWORDHIDDEN2PASSWORDHIDDENfPASSWORDHIDDEN9PASSWORDHIDDENdPASSWORDHIDDEN8PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN5PASSWORDHIDDENbPASSWORDHIDDEN8PASSWORDHIDDEN8PASSWORDHIDDENcPASSWORDHIDDEN9PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDEN/PASSWORDHIDDENvPASSWORDHIDDENaPASSWORDHIDDENgPASSWORDHIDDENrPASSWORDHIDDENaPASSWORDHIDD
PASSWORDHIDDENtPASSWORDHIDDEN

The error output from the last command was:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
PS C:\Users\Dacian Bujor\Homestead>

I installed the latest version of vagrant-vbguest plugin.

--
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/4074d021-29d0-4485-9b54-fe61bb8ca63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant + Homestead + HyperV

Alvaro Miranda Aguilera
hello

can you share your vagrantfile ?

and the output of vagrant status?

it seems is using hyperv but trying virtualbox shared folder, that should be modified to use smb i think for windows -> hyperv.

Alvaro

On Tue, May 16, 2017 at 7:33 PM, Dacian Bujor <[hidden email]> wrote:
Hi, i am trying to run the Laravel Homestead image on my windows 10 host machine. I added the hyperV Homestead image, and made the changes needed to run vagrant HyperV provider. But when ever i try to run the box i get a SMB shared folder error: 

Bringing machine 'homestead-7' up with 'hyperv' provider...
==> homestead-7: Verifying Hyper-V is enabled...
==> homestead-7: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> homestead-7: flag to force provisioning. Provisioners marked to run always will still run.
PS C:\Users\Dacian Bujor\Homestead> vagrant reload
==> homestead-7: Attempting graceful shutdown of VM...
==> homestead-7: Starting the machine...
==> homestead-7: Waiting for the machine to report its IP address...
    homestead-7: Timeout: 120 seconds
    homestead-7: IP: 192.168.1.249
==> homestead-7: Waiting for machine to boot. This may take a few minutes...
    homestead-7: SSH address: 192.168.1.249:22
    homestead-7: SSH username: vagrant
    homestead-7: SSH auth method: private key
==> homestead-7: Machine booted and ready!
==> homestead-7: Preparing SMB shared folders...
    homestead-7: You will be asked for the username and password to use for the SMB
    homestead-7: folders shortly. Please use the proper username/password of your
    homestead-7: Windows account.
    homestead-7:
    homestead-7: Username: Dacian Bujor
    homestead-7: Password (will be hidden):
==> homestead-7: Setting hostname...
==> homestead-7: Mounting SMB shared folders...
    homestead-7: C:/Users/Dacian Bujor/Homestead => /vagrant
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

PASSWORDHIDDENmPASSWORDHIDDENoPASSWORDHIDDENuPASSWORDHIDDENnPASSWORDHIDDENtPASSWORDHIDDEN PASSWORDHIDDEN-PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDENcPASSWORDHIDDENiPASSWORDHIDDENfPASSWORDHIDDENsPASSWORDHIDDEN PASSWORDHIDDEN-PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDENuPASSWORDHIDDENiPASSWORDHIDDENdPASSWORDHIDDEN=PASSWORDHIDDEN1PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN,PASSWORDHIDDENgPASSWORDHIDDENiPASSWORDHIDDENdPASSWORDHIDDEN=PASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN0PASSWORDHIDDEN,PASSWORDHIDDENsPASSWORDHIDDENePASSWORDHIDDENcPASSWORDHIDDEN=PASSWORDHIDD
PASSWORDHIDDENtPASSWORDHIDDENlPASSWORDHIDDENmPASSWORDHIDDEN,PASSWORDHIDDENcPASSWORDHIDDENrPASSWORDHIDDENePASSWORDHIDD
PASSWORDHIDDENePASSWORDHIDDENnPASSWORDHIDDENtPASSWORDHIDDENiPASSWORDHIDDENaPASSWORDHIDDENlPASSWORDHIDDENsPASSWORDHIDD
PASSWORDHIDDEN/PASSWORDHIDDENePASSWORDHIDDENtPASSWORDHIDDENcPASSWORDHIDDEN/PASSWORDHIDDENsPASSWORDHIDDENmPASSWORDHIDD
PASSWORDHIDDEN_PASSWORDHIDDENcPASSWORDHIDDENrPASSWORDHIDDENePASSWORDHIDDENdPASSWORDHIDDENsPASSWORDHIDDEN_PASSWORDHIDD
PASSWORDHIDDEN3PASSWORDHIDDEN4PASSWORDHIDDENcPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENcPASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDD
PASSWORDHIDDENdPASSWORDHIDDEN2PASSWORDHIDDENfPASSWORDHIDDEN9PASSWORDHIDDENdPASSWORDHIDDEN8PASSWORDHIDDENdPASSWORDHIDD
PASSWORDHIDDEN5PASSWORDHIDDENbPASSWORDHIDDEN8PASSWORDHIDDEN8PASSWORDHIDDENcPASSWORDHIDDEN9PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDEN/PASSWORDHIDDEN/PASSWORDHIDDEN1PASSWORDHIDDEN9PASSWORDHIDDEN2PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDD
PASSWORDHIDDEN8PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDDEN.PASSWORDHIDDEN1PASSWORDHIDDEN2PASSWORDHIDDEN0PASSWORDHIDD
PASSWORDHIDDENdPASSWORDHIDDEN3PASSWORDHIDDEN4PASSWORDHIDDENcPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENcPASSWORDHIDD
PASSWORDHIDDENfPASSWORDHIDDEN0PASSWORDHIDDEN2PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDDENaPASSWORDHIDDEN7PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDENdPASSWORDHIDDEN2PASSWORDHIDDENfPASSWORDHIDDEN9PASSWORDHIDDENdPASSWORDHIDDEN8PASSWORDHIDD
PASSWORDHIDDEN0PASSWORDHIDDEN5PASSWORDHIDDENbPASSWORDHIDDEN8PASSWORDHIDDEN8PASSWORDHIDDENcPASSWORDHIDDEN9PASSWORDHIDD
PASSWORDHIDDEN PASSWORDHIDDEN/PASSWORDHIDDENvPASSWORDHIDDENaPASSWORDHIDDENgPASSWORDHIDDENrPASSWORDHIDDENaPASSWORDHIDD
PASSWORDHIDDENtPASSWORDHIDDEN

The error output from the last command was:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
PS C:\Users\Dacian Bujor\Homestead>

I installed the latest version of vagrant-vbguest plugin.

--
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/4074d021-29d0-4485-9b54-fe61bb8ca63b%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/CAHqq0ex2BQybh18E4v0b0VxZoV5D2XByxLAPtS0zEPTTR6QDSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant + Homestead + HyperV

Dacian Bujor
The vagrant file you can find here: https://github.com/laravel/homestead

--
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/797c6bad-9344-4a3e-a579-fad0109b8fca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant + Homestead + HyperV

Alvaro Miranda Aguilera
Hello

If you try our box, hashicorp/precise64 do you get any issues?

If Vagrant is working fine and you are on current version, I would suggest to open a issue in that repo go see if they can help better.

Thanks
Alvaro.

On Wed, May 17, 2017 at 10:10 PM, Dacian Bujor <[hidden email]> wrote:
The vagrant file you can find here: https://github.com/laravel/homestead

--
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/797c6bad-9344-4a3e-a579-fad0109b8fca%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/CAHqq0ezB%3DwKLFe_s7V8rjPjiS0TZzDZuQ%3DFpJEQK6Cd8RexiWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant + Homestead + HyperV

Dacian Bujor
The same on the precise box

--
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/ede16efc-eb50-46cc-970a-82ca7a3ac892%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.