Timed out while waiting for the machine to boot when vagrant up
I increase the time using config.vm.boot_timeout
. But for me it was not the reason although the error tells about a timeout.
I opened the Vagrantfile using vim and add the following lines which turns on GUI for the VM.
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
After re-running the vagrant up
i saw the real reason in the GUI. There was an error dialog and it keeps waiting. That was the reason for the connection timeout.
To fix this i had to do some configurations in the system BIOS. I had to turn on the intel VT-x setting. And please check for AMD-V setting as well. These settings help hardware virtualization.
Vagrant Windows 10 'hangs on vagrant up
I actually already found my problem. It was a .dll from some addware scanner that was preventing the virtualbox VM from starting. I lost the link to the forum topic which helped me solve this unfortunately.
What i did was open the logs from the VM in VirtualBox and had a read trough. At some point, a line indicating an error appeared with a .dll name which was the culprit. I deleted the offending .dll files from my pc and it was fixed.
If i find the link again to the topic explaining exactly what dll it was i will post it here. Im not at the machine that i fixed the problem on now so i can't access my search history.
vagrant + virtualbox Timed out while waiting for the machine to boot
I upgraded my vagrant to 1.7.2 and my problem is solved now. but I don't see my box running in virtualbox interface . after all I can now ssh to my box and there is no problem.
Related Topics
Bash: Call Script with Customized Keyboard Shortcuts
Run Bash Script from Another Script Without Waiting for Script to Finish Executing
How to Use Expect with Optional Prompts
How to Exclude a Folder When Performing File Operations I.E. Cp, Mv, Rm and Chown etc. in Linux
Convert Utf8 to Utf16 Using Iconv
The Irq in Kernel Function Asm_Do_Irq() Is Different from the One I Request in Module
How to List the Size of Each File and Directory and Sort by Descending Size in Bash
Randomly Pick Lines from a File Without Slurping It with Unix
What Occurs When a File Is 'Source'-D in Unix/Linux Context
What Should Linux/Unix 'Make Install' Consist Of
How to Open Some Ports on Ubuntu
Two File Descriptors to Same File
Why Does Ps O/P List the Grep Process After the Pipe
Has Anyone Been Able to Create a Hybrid of Pe Coff and Elf
How to Detect When Someone Opens the Slave Side of a Pty (Pseudo-Terminal) in Linux
Why Crontab Uses or When Both Day of Month and Day of Week Specified