
If you are using Linux Distro (Ubuntu in my case) and when you try to run VirtualBox, you might get the following error :
VirtualBox can’t operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).
or something like
VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE).
VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE)
You will get this type of error if you are running different virtualisation module at the same time (I use a share computer ) but it should not happen if you are using only one computer (unless you installed without knowing…but it’s ok)
Anyway, first of all, we have to find other running module that you are running, using the following command :
lsmod | grep kvm
Once you are sure, you can remove using the command :
modprobe -r kvm_intel or modprobe -r kvm_amd
It depend on your cpu.
If you get a error saying that the service is still running, then run the follwing command to stop the service before removing it.:
rmmod -f kvm_intel
Reboot the computer after that :
apt-get remove libvirt-bin
And finally, the modprobe command :
modprobe -r kvm_intel
After that, you can run Virtualbox wihtout any error.
Disclaimer: All work shared in this post is property of IT Secure Net
Leave a Reply