Vbox GuestAddition Installation failed in vagrant provisioning.

223 views
Skip to first unread message

kiran sharma

unread,
Nov 7, 2015, 10:17:44 AM11/7/15
to Vagrant
I was able to use various features of vagrant to provision a virtualbox but I was unable to add Vbox GuestAdditions. It fails with the following error. 

what I did?

I downloaded plugins necessary for guestaddition --vagrant plugin install vagrant-vbguest

Based on what I read, we do not need to put anything on vagrantfile for installing Vbox GuestAdditions it does automatically. So I used same vagrantfile. 

Fom the log I can see, it tries to install Vbox GuestAdditions but it failed 



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
[i][b]can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3`
vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

The error output from the last command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device




I also found some suggestion on the net e.g
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions

but this did not fix my issue. Appreciate any suggestion.


Alvaro Miranda Aguilera

unread,
Nov 9, 2015, 3:08:36 AM11/9/15
to vagra...@googlegroups.com
Hello Kiran

Its easier if you work with machines that have the correct vbox additions.

Give a try to hashicorp/precise64 or have look in atlas for plenty of VMs.

The plugin will fix/install the guest additions, after that you should
do a "vagrant reload" to have a clean start.

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 vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/ab2def1c-5be4-4f61-8697-291ab86ec3ee%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Kiran Sharma

unread,
Dec 1, 2015, 6:23:03 PM12/1/15
to Vagrant
It does not sound as box issue. 

C:\vagrant\vbox>vagrant init hashicorp/precise64
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\vagrant\vbox>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["modifyvm", "5f010c0c-34e6-49af-a822-75973c407076", "--natpf1", "delet
e", "ssh"]

Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (ext
ended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at lin
e 493 of file VBoxManageModifyVM.cpp

Alvaro Miranda Aguilera

unread,
Dec 1, 2015, 6:42:24 PM12/1/15
to vagra...@googlegroups.com
Hello,

Seems you got 2 issues.

The first one is you should install vbox additions as part of the VM
creation, the error your are seeing happen before the plugin can fix
the guest so is too late to have a clean and nice user experience.

The second error about the VBoxManage, i am not sure that will work

Vagrant does require the NAT inferface, so you shouldn't delete it.

I think the error is because the VM is up and running and is trying to
modify a running VM.

IF you can explain the use case, we should be able to help with a Vagrant way.

Thanks
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 vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/b4f8e8f0-03d8-4e32-8982-ddc0f12d69ef%40googlegroups.com.

Kiran Sharma

unread,
Dec 1, 2015, 7:41:33 PM12/1/15
to Vagrant

I am not sure about prevision64 box, but other two boxes I used, both have guest addition installed.

CentOS 7 x64 (Minimal, Shrinked, Guest Additions 4.3.26) (Monthly updates)

VirtualBox

Copy https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box

437

CentOS 7.1 x64 (Minimal, Puppet 4.2.3, Guest Additions 4.3.30)[notes]

VirtualBox

Copy https://github.com/CommanderK5/packer-centos-template/releases/download/0.7.1/vagrant-centos-7.1.box

576

 

Also, I have VBoxGuestAdditions.iso in my virtualbox directory.

 

-------------------

C:\vagrant\vbox>dir "\Program Files\Oracle\VirtualBox"\*.iso

 Volume in drive C is OSDisk

 Volume Serial Number is 1E1D-0BBC

 

Directory of C:\Program Files\Oracle\VirtualBox

11/10/2015  06:02 PM        59,002,880 VBoxGuestAdditions.iso

               1 File(s)     59,002,880 bytes

               0 Dir(s)  340,745,592,832 bytes free

 

 

Also, I used these boxes previously and had no issues at all.  

 

As you saw, I now even have issue with prevision64 box.

 


To answer the questions you raised 


1. The vm in fact comes up, in some occasions. in  occasionally, it also appears on vbox gui/console. So, I can not use it. 

2. I have not deleted NAT interface. The box I used has default NAT and I am not trying to delete it. In fact, now, I am trying to bring the vm only with simple configure  
(a) vagrant init <box>; 
(b) vagrant up

This seems the only line which is not commented in my current vagrant file

config.vm.box = "hashicorp/precise64"

Please let me know if you need further info. I am so annoyed with it and want to resolved the issue. I am happy to provide any info you needed. 


Thanks
Kiran


On Saturday, November 7, 2015 at 10:17:44 AM UTC-5, kiran sharma wrote:

Alvaro Miranda Aguilera

unread,
Dec 2, 2015, 5:48:09 AM12/2/15
to vagra...@googlegroups.com
Hello Kiran,

If we start fresh, the user experience should be nice. Windows have some issues some times.

vagrant version
vagrant plugin list

Current version is 1.7.4
And the only plugin installed by default is vagrant-share

from there, as your normal user you can do

mkdir precise64
cd precise64
vagrant init -m hashicorp/precise64
vagrant up

the -m is for a minimal Vagranfile.

IF you get issues with that simple setup, Can I have the following please:

set VAGRANT_LOG=debug
vagrant up

and share a gist (gist.github.com) of the log generated?
and a description on what’s failing. Since I get the idea what was failing is fixed.

Thanks
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 vagrant-up+...@googlegroups.com.

Kiran Sharma

unread,
Dec 2, 2015, 2:29:03 PM12/2/15
to Vagrant
C:\vagrant\vbox>vagrant --version
Vagrant 1.7.4

C:\vagrant\vbox>vagrant plugin list
vagrant-berkshelf (4.1.0)
vagrant-share (1.1.4, system)


============

C:\vagrant>mkdir precise64

C:\vagrant>cd precise64

C:\vagrant\precise64>vagrant init -m hashicorp/precise64
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\vagrant\precise64>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'hashicorp/precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Setting the name of the VM: precise64_default_1449083411011_2660
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version o
f
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you
 see
    default: shared folder errors, please make sure the guest additions within t
he
    default: virtual machine match the version of VirtualBox you have installed
on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 5.0
==> default: Mounting shared folders...
    default: /vagrant => C:/vagrant/precise64
====================

The box is created successfully but it does not appear in the console. But when I visited the vm directory and click on the box file, i appears on the console. you can see that in the attached doc. 


I created two vms yesterday in this way which you can see in the attached doc. But this is not a problem free. It appears on the console but it fails to start, I repeated a few time before getting it worked. Also, if I changed the network from net to bridge, it does not boot. 

That is what exactly happened  with prevision 64, the vm I just created following your steps.

Thanks
Kiran



 .
vagrant_issue.zip

Alvaro Miranda Aguilera

unread,
Dec 2, 2015, 4:46:28 PM12/2/15
to vagra...@googlegroups.com
Hello,

That is expected.

You need to have Virtualbox window closed. after the VM is provisioned, and you go to check the new VM will be there.

You should't use that to get full screeen/gui access.

You should use:
vagrant ssh

and that will connect you the VM.

So at this stage I think Vagrant is working fine :)

Alvaro

Kiran Sharma

unread,
Dec 3, 2015, 12:05:11 AM12/3/15
to Vagrant
Do you mean not showing in the virtualbox console is fine? Also, I can not change the network adapter to bridge or add in addition to the nat which is created while propositioning the machine.

Based on what I used to do, it is not resolved. I can only create machine with nat adapter nothing else. when I changed network adapter to bridge, and restart the interface, I got this 
e1000 0000:01:03.0: eth0: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <bd>
  TDT                  <bd>
  next_to_use          <bd>
  next_to_clean        <73>


Thanks

Alvaro Miranda Aguilera

unread,
Dec 3, 2015, 3:24:39 AM12/3/15
to vagra...@googlegroups.com
How are you doing these changes?

The way of doing with Vagrant is update the Vagrantfile and then do a vagrant reload.

Alvaro.

Kiran Sharma

unread,
Dec 3, 2015, 7:24:40 AM12/3/15
to Vagrant
==> default: which network to bridge to.
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

As I said, the problem is not resolved. I can not create another adapter, nor I can changed the NAT to bridge. In summary


1. creation of machine works sometime, but not always
2. the machine does not appear into virtualbox console automatically, so I can ssh but can not stop or start
3. I can make the box appear on console by non standard way( which read somewhere else)
4. No network change by any way, even changing the vagrantfile and reloading it

If there is anything I can provide you, it would be happy in regards to resolve this issue. 

Thanks a lot 
Kiran

Alvaro Miranda Aguilera

unread,
Dec 4, 2015, 6:36:09 AM12/4/15
to vagra...@googlegroups.com
Hello Kiran.

Let's do a tutorial together, very slowly.

I see you want to learn, and something is not working, so I will help you as much as I can.

A. Managing Boxes with Vagrant
B. Connecting to Vagrant boxes. SSH and CLI
C. Adding networking interfaces to Vagrant

Let's do them slowly:

A. Managing Boxes with Vagrant

The correct way (The Vagrant way) is use Vagrant, and not the Virtualbox Gui.

If you want to use the Virtualbox Gui, then you can just use Virtualbox Templates and not use Vagrant all.

In the other way around, Vagrant provide many cool features, that I think you will end using Vagrant more than the Virtualbox Console.

A.1 Create a Box

I am using OSX here, and I have deleted all the Virtual machines, so my Virtualbox manager looks like this:


Vagrant does things automatically and will use VirtualBox command line tools to import a template, create/clone disk, etc.

If at the moment the VM start doesn't show up in the VirtualBox gui, trust me, is not a vagrant problem is a issue with the Virtualbox tool.

So, the most simple way of create a new box is like this:

Alvaros-Mini:t kikitux$ mkdir kiran

Alvaros-Mini:t kikitux$ cd kiran

Alvaros-Mini:kiran kikitux$ vagrant init -m hashicorp/precise64

A `Vagrantfile` has been placed in this directory. You are now

ready to `vagrant up` your first virtual environment! Please read

the comments in the Vagrantfile as well as documentation on

`vagrantup.com` for more information on using Vagrant.

Alvaros-Mini:kiran kikitux$ vagrant up --provider=virtualbox

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Importing base box 'hashicorp/precise64'...

==> default: Matching MAC address for NAT networking...

==> default: Checking if box 'hashicorp/precise64' is up to date...

==> default: Setting the name of the VM: kiran_default_1449228244214_84829

==> default: Clearing any previously set network interfaces...

==> default: Preparing network interfaces based on configuration...

    default: Adapter 1: nat

==> default: Forwarding ports...

    default: 22 (guest) => 2222 (host) (adapter 1)

==> default: Booting VM...

==> default: Waiting for machine to boot. This may take a few minutes...

    default: SSH address: 127.0.0.1:2222

    default: SSH username: vagrant

    default: SSH auth method: private key

    default: Warning: Remote connection disconnect. Retrying...

    default: 

    default: Vagrant insecure key detected. Vagrant will automatically replace

    default: this with a newly generated keypair for better security.

    default: 

    default: Inserting generated public key within guest...

    default: Removing insecure key from the guest if it's present...

    default: Key inserted! Disconnecting and reconnecting using new SSH key...

==> default: Machine booted and ready!

==> default: Checking for guest additions in VM...

    default: The guest additions on this VM do not match the installed version of

    default: VirtualBox! In most cases this is fine, but in rare cases it can

    default: prevent things such as shared folders from working properly. If you see

    default: shared folder errors, please make sure the guest additions within the

    default: virtual machine match the version of VirtualBox you have installed on

    default: your host and reload your VM.

    default: 

    default: Guest Additions Version: 4.2.0

    default: VirtualBox Version: 5.0

==> default: Mounting shared folders...

    default: /vagrant => /Users/kikitux/Downloads/t/kiran

Alvaros-Mini:kiran kikitux$ 



Then the Virtualbox GUI looks like this:



At this point you may be asking of the nice windows where you can type commands directly on the VM, that will be covered in B2



A2 Restart a vm

vagrant reload

A3 Shutdown a vm

vagrant halt

A4. Start a shutdown vm

vagrant up


B. Connecting to Vagrant boxes. SSH and CLI

To connect to this Vagrant box, as a remote server you can use ssh

Vagrant have a convenient option that is

vagrant ssh

Alvaros-Mini:kiran kikitux$ vagrant ssh

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)


 * Documentation:  https://help.ubuntu.com/

New release '14.04.3 LTS' available.

Run 'do-release-upgrade' to upgrade to it.


Welcome to your Vagrant-built virtual machine.

Last login: Fri Dec  4 11:28:44 2015 from 10.0.2.2

vagrant@precise64:~$ logout

Connection to 127.0.0.1 closed.

Alvaros-Mini:kiran kikitux$ 



however if you want to use your cool tool, say putty, or use SFTP/SCP, etc you can connect using the port where SSH is redirected.


Alvaros-Mini:kiran kikitux$ vagrant ssh-config

Host default

  HostName 127.0.0.1

  User vagrant

  Port 2222

  UserKnownHostsFile /dev/null

  StrictHostKeyChecking no

  PasswordAuthentication no

  IdentityFile /Users/kikitux/Downloads/t/kiran/.vagrant/machines/default/virtualbox/private_key

  IdentitiesOnly yes

  LogLevel FATAL


Alvaros-Mini:kiran kikitux$ 



Alvaros-Mini:kiran kikitux$ ssh -p 2222 -l vagrant localhost -i /Users/kikitux/Downloads/t/kiran/.vagrant/machines/default/virtualbox/private_key

The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.

ECDSA key fingerprint is SHA256:+zgKqxyYlTBxVO0xtTVGBokreS9Zr71wQGvnG/k2igw.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '[localhost]:2222' (ECDSA) to the list of known hosts.

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)


 * Documentation:  https://help.ubuntu.com/

New release '14.04.3 LTS' available.

Run 'do-release-upgrade' to upgrade to it.


Welcome to your Vagrant-built virtual machine.

Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2

vagrant@precise64:~$ logout

Connection to localhost closed.

B2. Using the GUI.

Here the vagrant way is modify the Vagranfile and Tell Vagrant you want to use the GUI


So you can modify the Vagrantfile from:


Alvaros-Mini:kiran kikitux$ cat Vagrantfile 

Vagrant.configure(2) do |config|

  config.vm.box = "hashicorp/precise64"

end


TO:


Alvaros-Mini:kiran kikitux$ cat Vagrantfile 

Vagrant.configure(2) do |config|

  config.vm.box = "hashicorp/precise64"

  config.vm.provider "virtualbox" do |v|

    v.gui = true

  end

end

Alvaros-Mini:kiran kikitux$ 


Then, reload the VM


vagrant reload


and Vagrant will give you the GUI console you were after:





C. Adding networking interfaces to Vagrant


a private network

config.vm.network "private_network", type: "dhcp"
a public network
config.vm.network "public_network"

So Vagrantfile will look like this:

Vagrant.configure(2) do |config|

  config.vm.box = "hashicorp/precise64"

  config.vm.provider "virtualbox" do |v|

    v.gui = true

  end

 config.vm.network "private_network", type: "dhcp"

 config.vm.network "public_network"

end


Then vagrant reload


More information and options available here:

https://docs.vagrantup.com/v2/


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 vagrant-up+...@googlegroups.com.

kiran sharma

unread,
Dec 4, 2015, 10:43:39 PM12/4/15
to Vagrant
Thanks a lot for all the trouble. My issue, is not how to do it, but the real issue is it gives an error when it should not. Previously, I had no issue. 

when I added the network and vagrant reload, this is what i get 

C:\vagrant\precise64>vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
    default: Adapter 3: bridged
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue. 

I will look other things e.g the sp of windows 7, or cpu of my machine, etc. Not sure,what is causing the issue. 

Once again, I really appreciate your help. 


Thanks
Kiran




Also, when I tried to start/restart, it does  gave the same error I posted you before, the mac

Alvaro Miranda Aguilera

unread,
Dec 5, 2015, 2:53:09 AM12/5/15
to vagra...@googlegroups.com
Have you check ram utilzation?

sum all the ram you are using in VM and try to leave 2GB for the host.

If you gave 8GB ram, just use max 6GB for guest, that is 3 guest of 2GB each one.

Alvaro

kiran sharma

unread,
Dec 6, 2015, 1:10:36 PM12/6/15
to Vagrant
Here are both, the vagrantfile contents and the stdout and stderr
Here is the vagranfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
vmName = 'example500'
vmHost = 'example500'

Vagrant.configure(2) do |config|
  config.vm.box = "centos7.1"


  # config.vm.network "forwarded_port", guest: 80, host: 8080

  # config.vm.network "private_network", ip: "192.168.33.10"

  # config.vm.network "public_network"
  config.vm.network "public_network", bridge: "en0"

  # config.vm.network "public_network", bridge: "Intel(R) Centrino(R) Advanced-N 6235", adapter: "1"

  # config.vm.synced_folder "../data", "/vagrant_data"

   config.vm.hostname = vmName
   config.vm.provider "virtualbox" do |vb|
     # Display the VirtualBox GUI when booting the machine
     vb.gui = true
     vb.name = vmName
     # Customize the amount of memory on the VM:
     vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
     vb.customize ["modifyvm", :id, "--draganddrop", "bidirectional"]
     vb.memory = "4094"
   end
  
  # config.vm.provision "shell", inline: <<-SHELL
  #   sudo apt-get update
  #   sudo apt-get install -y apache2
  # SHELL
end

#vagrant init hashicorp/precision64



Here is  the stdout and stderr


Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Specific bridge 'en0' not found. You may be asked to specify
==> default: which network to bridge to.
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.



Reply all
Reply to author
Forward
0 new messages