Today we got an introduction session about
Hyper-V. I already have some experience with it because my old home-server was running some test servers on that platform. Because we learn
Ansible and
Vagrant with
Virtualbox, I never installed Hyper-V on my laptop. But today I decided to install it on my laptop because we were going to use it. Everything went great until I wanted to launch my VM's again in Virtualbox.
|
Error when Hyper-V is enabled. |
You get this error because Hyper-V is enabled on your system. You cannot run Hyper-V and Virtualbox at the same time. So when I want to run my other VM's I have to disable Hyper-V. This is possible with the following command. A restart is required.
In other words, it's possible to let Hyper-V and VirtualBox coexist on the same system, as long as only one of the two is active? That's good to know.
ReplyDeleteMaybe it's also possible then to modify the launcher shortcut for VirtualBox (and the Vagrant command as well) to attempt to turn off Hyper-V before starting.
I had problems with defining virtual network switches for Hyper-V when VirtualBox was installed, how's that working for you?
Indeed, I have Virtualbox and Hyper-V running on my laptop.
DeleteYou can adjust the shortcut but a restart is required so maybe a little script that turns it on when off and vice versa would make more sense (Or a Powershell module).
Right now I have Hyper-V and VirtualBox running on the same system (Windows Server 2012 Datacenter), same time. Couldn't achieve this with VMWare (and Hyper-V) so I did the bcdedit procedure and worked fine. If someone are concerned about VirtualBox VM's autostart can download VBoxVmService-5.1-Plum from GitHub.
ReplyDeleteHyper-V: Windows 2003 Server as Guest (don't ask me why so old the guest OS)
VirtualBox: pfSense-LiveCD-2.2.4-RELEASE-i386-20150725-1956
PS: Not fully tested the guest VM on VirtualBox but network seems to work without problem. Im having the error: "virtualbox calcru went back" on VirtualBox Guest VM but is related (I guess) with NTP or another time config problem.
@Jürgen Van Meerhaeghe What script and shortcut adjusting do you refer? Thanks in advance.