Vagrant not starting after upgrade to Windows 10

364 views
Skip to first unread message

Laurentiu Nicolae

unread,
Jul 30, 2015, 2:47:10 PM7/30/15
to Vagrant
I made the upgrade to Windows 10 but after the update the machine does not start. I get this error:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'puphpet/ubuntu1404-x64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> default: Setting the name of the VM: vagrant5_default_1438281430392_96097
==> default: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 70 of file VBoxManageHostonly.cpp


Can anyone help me to fix this? 

Alvaro Miranda Aguilera

unread,
Jul 30, 2015, 5:35:57 PM7/30/15
to vagra...@googlegroups.com
Hello,

On my particular case my Win10 install is on the first boot, so I
can't test just now.

The error seems to came from VirtualBox.

I will assume this was ugrade, so can you remove the old interfaces if any?


VBoxManage list hostonlyifs
VBoxManage hostonlyif remove vboxnet10

Do the same for any vboxnet listed there


Then, Can you run the command thats failing?

VBoxManage hostonlyif create
> --
> 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/0a206ac5-03b2-4e9d-bad1-acae8a6040da%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

George McDaid

unread,
Jul 30, 2015, 7:36:09 PM7/30/15
to Vagrant, laurn...@gmail.com
I too am having this issue after upgrading to Windows 10 yesterday, did not have this issue with windows 7. (I'm also unable to create Host Only Interfaces in the VirtualBox GUI now). I was able to fix it, but it is definitely not permanent and does not feel like an appropriate fix. If anybody can suggest a more definitive fix or route of investigation for this issue, that would be greatly appreciated. The fix I found is from the following location (Steps 2 and 3 appear to be the most important as the error seems to caused by VirtualBox's inability to clear host only interfaces): https://laracasts.com/discuss/channels/general-discussion/windows-10-vagrant-virtualbox-homestead/?page=1
  1. Install Virtualbox 5 and Vagrant 1.7.4
  2. Comment line 17: config.vm.network :private_network, ip: settings["ip"] ||= "192.168.10.10" in homestead.rb
  3. Comment line 64: b.use ClearNetworkInterfaces in action.rb (path ~\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\providers\virtualbox\action.rb)
  4. Homestead init and/or up
  5. Homestead halt
  6. In Virtualbox preferences -> network -> host-only networks edit existing Host-Only adapter and add 192.168.10.10 as IP address
  7. Select homestead box in Virtualbox and go to settings -> network -> adapter 2 and select Host-only network (the one edited in step above)
  8. Homestead up, provision

Alvaro Miranda Aguilera

unread,
Jul 30, 2015, 8:46:18 PM7/30/15
to vagra...@googlegroups.com, laurn...@gmail.com
Hello George

What are the chances you can create a github issue with all this information?

https://github.com/mitchellh/vagrant/issues
> --
> 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/e5f0b1d4-96b3-4a5b-8572-26f4be09ff58%40googlegroups.com.

George McDaid

unread,
Jul 30, 2015, 9:15:52 PM7/30/15
to Vagrant, laurn...@gmail.com, kik...@gmail.com
I just posted that to GitHub, I may have been a little verbose, but I wanted to include anything the could be relevant. Please let me know if you need anymore information, as I am not able to start any old or new vagrant boxes without this fix and it just does not feel all that stable.
Reply all
Reply to author
Forward
0 new messages