Recently installed Virtualbox and vagrant (I'm new to vagrant) on Windows 10 Pro host. Installed both VirtualBox and Vagrant as user that is a member of the administrator group, pulled down the centos-7 vagrant box and followed the steps to "up" the box. The virtualbox guest boots but hangs with no ability to login. No login prompt from the VB console or via ssh. I have re-installed VirtualBox twice. I'm not sure if this is a VirtualBox issue or a vagrant issue. I've spent the better part of a day googling, searching the VirtualBox forums and some half-hearted vagrant searchs. The errors I'm seeing are in the VirtualBox VBoxSVC.log so I've focused my efforts more toward VirtualBox (for now).
Windows 10 Pro [1909], VT-x enabled in UEFI.
Virtual Box : 6.1.4r136177 (Qt5.6.2)
Vagrant : 2.2.7
Vagrant Box : bento/centos-7 (202002.04.0)
Vagrant Startup Output :
Code: Select all
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-7' version '202002.04.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> 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 <-- (Hangs here but VB guest is "Running")File Locations
Code: Select all
C:\Users\pitwipe\.VirtualBox\VirtualBox.xml
C:\Users\pitwipe\.VirtualBox\VBoxSVC.log
C:\Users\pitwipe\VirtualBox VMs\pitwipe_default_1586194851525_7330\centos07.7-x86_64-disk001.vmdk
C:\Users\pitwipe\VirtualBox VMs\pitwipe_default_1586194851525_7330\pitwipe_default_1586194851525_7330.vbox
C:\Users\pitwipe\VirtualBox VMs\pitwipe_default_1586194851525_7330\Logs\VBox.log
C:\Users\pitwipe\VirtualBox VMs\pitwipe_default_1586194851525_7330\Logs\VBoxHardening.log
C:\Users\pitwipe\VagrantfileIt's also referring to the wrong VBox machine name. At no point did I manually configure either of these items.
Here are the relevant log entries:
Code: Select all
<...snip...>
00:04:04.636849 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'centos-7.7-x86_64'}, preserve=false aResultDetail=0
00:04:04.637028 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium 'C:\Users\pitwipe\VirtualBox VMs\centos-7.7-x86_64\centos-7.7-x86_64-disk001.vmdk' (VERR_PATH_NOT_FOUND)}, preserve=false aResultDetail=-103
00:04:04.691481 Import settings with version "1.16-macosx"
00:04:04.691542 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'centos-7.7-x86_64'}, preserve=false aResultDetail=0
00:04:04.691698 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium 'C:\Users\pitwipe\VirtualBox VMs\centos-7.7-x86_64\centos-7.7-x86_64-disk001.vmdk' (VERR_PATH_NOT_FOUND)}, preserve=false aResultDetail=-103
00:04:08.636695 createImport Saving settings file "C:\Users\pitwipe\.VirtualBox\VirtualBox.xml" with version "1.12-windows"
00:04:08.645090 ApplImp Saving settings file "C:\Users\pitwipe\VirtualBox VMs\centos-7.7-x86_64_1586194846576_35423\centos-7.7-x86_64_1586194846576_35423.vbox" with version "1.16-windows"
00:04:08.651453 ApplImp Saving settings file "C:\Users\pitwipe\.VirtualBox\VirtualBox.xml" with version "1.12-windows"
00:04:08.796945 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 0 of controller 'IDE Controller'}, preserve=false aResultDetail=0
00:04:08.797027 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 0 of controller 'IDE Controller'}, preserve=false aResultDetail=0
00:04:08.797127 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 0 of controller 'IDE Controller'}, preserve=false aResultDetail=0
<...snip...>The path to this newly created VirtualBox VM (via vagrant) is :
Reported : C:\Users\pitwipe\VirtualBox VMs\centos-7.7-x86_64\centos-7.7-x86_64-disk001.vmdk Actual : C:\Users\pitwipe\VirtualBox VMs\pitwipe_default_1586194851525_7330\centos07.7-x86_64-disk001.vmdk
Reported : centos-7.7-x86_64 Actual dynamically created VBoxguest name : pitwipe_default_1586194851525_7330
C:\Users\pitwipe\VirtualBox VMs\centos-7.7-x86_64_1586194846576_35423\centos-7.7-x86_64_1586194846576_35423.vbox
Code: Select all
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7"
end