Home » Posts tagged "VirtualBox"

Keeping VirtualBox Guest Additions in sync with Vagrant

Whenever you’re upgrading the software packages on your VirtualBox machine, managed by Vagrant, you risk VirtualBox Guest Additions render unusable and thus your shared folders don’t work anymore. This usually happens whenever a kernel upgrade is being done which requires the VirtualBox drivers to be recompiled.

Thanks to a Vagrant plugin called vbguest you can now safely upgrade your software packages. If you’ve got this plugin installed every time you run vagrant up it’ll check the installed version of VirtualBox Guest Additions and updates it accordingly.

To install the plugin run the following command from your shell:

$ vagrant plugin install vagrant-vbguest

VirtualBox virtual machine not starting because of missing VT-X support

Today I ran into an issue where VirtualBox wouldn’t start my virtual machines anymore because of missing VT-X support. Which was strange as my CPU (Intel i7) does support this and it did work just a day ago. After some searching and trying the latest version of VirtualBox it turns out that Microsoft’s Hyper-V (Hyper Visor) was preventing VirtualBox from using this technology. Disabling PAE/NX would let me boot the virtual machine again, but without the CPU acceleration.

Disable Hyper-VTo disable Hyper-V in Windows 8 do the following:

  1. Press Windows key + X
  2. Click Programs and Features
  3. Click Turn Windows features on or off
  4. Expand Hyper-V
  5. Uncheck it
  6. Click OK

Now reboot your machine and try booting a virtual machine using VT-X.