PDA

View Full Version : [ubuntu] VirtualBox OSE


StrangeFreedom
April 25th, 2008, 07:24 AM
I installed VirtualBox OSE and this is the error I get:

VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot.
VBox status code: -4011 (VERR_VMX_IN_VMX_ROOT_MODE).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

I have had KVM installed, so that might be the cause of the problems.
How do I solve this?

StrangeFreedom
April 25th, 2008, 03:20 PM
Solved by installing bum.
Then disabling kvm service in there.

How should I do it without bum?

your_gnu_spuddy
August 30th, 2008, 11:15 PM
sudo /etc/init.d/kvm stop

randomAccess
September 20th, 2008, 11:56 AM
sudo /etc/init.d/kvm stop

how to make this permanent so it does not restart after reboot? or it is not safe to do that?

zmunson
September 22nd, 2008, 02:21 PM
Yes, I too would like to know how to tweak my system so I don't have to drop into a command line and issue this command before running VirtualBox. VirtualBox gives me this error message *some* times that I load it, but not *every* time, and I haven't figured out what the trigger/cause is.

Ideas for a relative ubuntu newbie, anyone?

Thanks!

Z

how to make this permanent so it does not restart after reboot? or it is not safe to do that?

randomAccess
September 23rd, 2008, 09:01 AM
Well, one can always make a shell script with sequential command to launch, but I know that there is a way to directly disable this module. Just don't know how. It seems that we'd have to wait for the "mercy of the gurus" :)

jespdj
September 23rd, 2008, 10:38 AM
kvm is another virtualization package which interferes with VirtualBox. You could uninstall kvm.

kvm isn't installed by default on Ubuntu as far as I know, so you must have done something in the past that installed kvm.

randomAccess
September 23rd, 2008, 11:23 AM
kvm is another virtualization package which interferes with VirtualBox. You could uninstall kvm.

kvm isn't installed by default on Ubuntu as far as I know, so you must have done something in the past that installed kvm.

how to uninstall it? aptitude doesn't recognize it.
I think it's connected with Intel-based machine as Ubuntu install it by default on all intel machines.

randomAccess
September 24th, 2008, 05:58 AM
how to uninstall it? aptitude doesn't recognize it.
I think it's connected with Intel-based machine as Ubuntu install it by default on all intel machines.

Hmmmm, a very funny thing. Kvm IS NOT installed on my machine (checked via apt-get), but it DOES EXIST in /etc/init.d/kvm. Can I just delete this file so it will not be restarted after reboot??? :confused:

randomAccess
September 24th, 2008, 06:04 AM
SOLUTION:
https://help.ubuntu.com/community/KVM#Removing%20KVM