Vagrant Up Error In Headless Ubuntu: The guest machine entered an invalid state while waiting for it to boot

后端 未结 12 1244
醉话见心
醉话见心 2021-02-01 02:15

I need to install vagrant in headless ubuntu(Ubuntu 12.04.2 LTS- 64 Bit).Vagrant ver-v1.3.0 and Virtual box- 4.2.18. After adding the vagrant package box, when I am giving \"vag

相关标签:
12条回答
  • 2021-02-01 03:04

    According to mitchellh

    Can you start the machine manually (from the GUI)? This error message is usually indicative of VirtualBox issues.

    my solution

    I use vagrant under windows though, I solved this problem by simply kill all the VirtualBox process, and restart VirtualBox GUI, start the VM, then normally power off it.

    maybe useful links

    These two issues may help.

    https://github.com/mitchellh/vagrant/issues/2157

    https://github.com/mitchellh/vagrant/issues/2187 may also be helpful.

    0 讨论(0)
  • 2021-02-01 03:04

    In my case Vagrant or VirtualBox or Laravel's Homestead has messed something up. During vagrant up command I saw that it is generating some settler_ folder in my VM folder, and then it renames the folder to homestead-7, and then tries to run the machine... but the disk for the machine still points to the path in settler_ folder! I have to manually remove the attached disk and attach the right one instead.

    0 讨论(0)
  • 2021-02-01 03:06

    What ended up working for me when I encountered this error was checking my bios options. I have a lenovo thinkpad x240 and ended up discovering some virtualization options that were disabled.

    Once I enabled these, virtualbox functioned as expected.

    0 讨论(0)
  • I met this problem recently, since I had used vagrant and virtualbox in the past couple of months with nothing wrong.

    When I start the vm in virtualbox GUI, it shows a error dialog. By googling the error message, I found it might be an Avira (which is a anti-virus software) bug.

    A solution described here: https://forums.virtualbox.org/viewtopic.php?f=6&t=67840&start=195#p347694

    • Open Avira configuration and go to General -> Security.
    • Disable product protection options (all three).
    • Press Ok button to save configuration.
    • Press Start->Settings-> Control Panel->System.
    • Start "Device Manager" in the tab "Hardware".
    • In "View" menu activate the option "Show hidden devices".
    • Now select the node "Non-plug and play drivers".
    • Right-click on the driver "avipbb" and select "Properties".
    • In tab "Driver" select the option "Disabled" and click OK.
    • Close all and reboot.

    It works for me.

    0 讨论(0)
  • 2021-02-01 03:18

    I'm a bit late, but I had the same error message and resolved it by locating the .vmdk for the problematic machine manually, and opening it in VirtualBoxManager (or whatever you use).

    0 讨论(0)
  • 2021-02-01 03:18

    I had same issue and I have tried with vagrant destroy and then again vagrant up and its works for me

    0 讨论(0)
提交回复
热议问题