Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I am trying to run Ubuntu in a virtualbox but on installing 12.10 from the .iso I was greeted by a warning telling me that audio wouldn't work then I pressed next and this popped up:

Failed to open a session for the virtual machine Tux 3
VT-x features locked or unavailable in MSR
(VERR_VMX_MSR_LOCKED_OR_DISABLED)
Details

Result Code: 
E_FAIL (0x80004005)
Component: 
Console
Interface: 
IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

And then it doesn't work.

I assigned 4GB of my 8GB to Ubuntu, 100 dynamically allocated GB of space, and 12MB of graphics memory. I'm running an Asus p8z77 V LX mobo with an Intel i5 3550 processor.

Downloaded 12.04.2 on my PC and tried again. Still getting the same message.

share|improve this question
3  
Did you enable VT-x in BIOS and in the VM settings? –  Takkat Feb 16 '13 at 8:59
    
In my mobo BIOS right? –  user132520 Feb 16 '13 at 9:20
    
Thanks all is well now :) –  user132520 Feb 16 '13 at 11:07
    

1 Answer 1

Before changing BIOS settings we may want to see if hardware virtualization (VT-x for Intel, AMD-V for AMD processors) was already enabled.

From a terminal issue

grep --color vmx /proc/cpuinfo ## for an Intel processor
grep --color svm /proc/cpuinfo ## for an AMD processor

If virtualization was enabled the flag vmx (for Intel CPUs) or svm (for AMD CPUs) will be colored.

enter image description here

If not, and the CPU supports hardware virtualization, we need to enable this in the computer BIOS.

See with the manual for the hardware and search for Virtualization, Virtualization Technology (VT-x), or similar, here shown for an Award BIOS:

Award BIOS Virtualization Flag

Set this entry to Enabled in case it is not yet set.

We then can choose to use hardware virtualization in the virtual machine's System -> Acceleration settings:

enter image description here

By this we use hardware virtualization for optimal performance, and we would even be able to run a 64-bit guest OS on a 32-bit host for testing.

share|improve this answer
4  
I still get this problem. My 'vmx' is coloured when running the command above and I've gone and enabled 'virtualisation' in the BIOS as well. –  Ads20000 May 29 at 14:39
    
After changing the bios setting to ON, don't just restart your computer, turn it off and then on! Apparently just restart doesn't do the thing :/ –  Devenv Jul 19 at 18:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.