Monday, November 09, 2015

Hyper-V and Virtual Box co-exists

If our computer has Hyper-V installed, when we run Oracle virtual box, we will get the error:- "VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot."

The reason is one computer only can have one hypervision at a time, Hyper-V runs during Windows start up so Virtual box will always lose to Hyper-V.

To resolve this issue, we can disable Hyper-V when we intend to run VirtualBox or enable Hyper-V when we do not need to run VirtualBox.

To achieve this configuration, we have to use bcdedit command and reboot our computer:-

To run VirtualBox (Disabling Hyper-V): bcdedit /set hypervisorlaunchtype off
To run Hyper-V (No VirtualBox running): bcdedit /set hypervisorlaunchtype on