Page 1 of 1

VT-x is not available (VERR_VMX_NO_VMX

Posted: 1. Sep 2020, 09:43
by MarioGalindez
hello,

I have an Ubuntu virtual machine provided by a friend, and was meaning to use VirtualBox inside my virtual machine.

I installed virtualbox-6.1, along with phpvirtualbox. VirtualBox (phpvirtualbox) only allows me to select 32-bit OSes -- but that's fine. However, when trying to run a new VM, I get this error message:

VT-x is not available (VERR_VMX_NO_VMX)

However, Settings->System->Acceleration->Enable VT-x/AMD-V is *NOT* ticked.

And the details of the error are:

Code: Select all

Exception Object
(
    [message:protected] => VT-x is not available (VERR_VMX_NO_VMX)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/public_html/vbox/endpoints/lib/vboxconnector.php
    [line:protected] => 2443
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/public_html/vbox/endpoints/lib/vboxconnector.php
                    [line] => 951
                    [function] => remote_progressGet
                    [class] => vboxconnector
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /var/www/public_html/vbox/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
)
Any clues what the problem might be?

thank you,
Mario

Re: VT-x is not available (VERR_VMX_NO_VMX

Posted: 1. Sep 2020, 10:13
by mpack

Re: VT-x is not available (VERR_VMX_NO_VMX

Posted: 1. Sep 2020, 15:48
by MarioGalindez
Thanks a lot for the info!

Question: since I cannot enable VT-x support (changing the BIOS settings is not under my control), would it be possible to e.g. run Ubuntu or Debian 32 bit by employing an earlier release of VirtualBox, such as VirtualBox 5.2? (the faq says VT-x support is required since version 6.1.0)

thnx a lot!
Mario
mpack wrote:Related]FAQ: I have a 64bit host, but can't install 64bit guests.

Re: VT-x is not available (VERR_VMX_NO_VMX

Posted: 1. Sep 2020, 23:06
by scottgus1
6.0.x and earlier allow running without VT-x.

Re: VT-x is not available (VERR_VMX_NO_VMX

Posted: 2. Sep 2020, 09:35
by mpack
MarioGalindez wrote:changing the BIOS settings is not under my control
It that case I strongly urge you to get help from someone who can control such things, i.e. IT support. VirtualBox will be crippled without access to VT-x. VMs will crash if they do anything suspect instead of the error being trapped, you can't install 64bit VMs, nor allocate >4GB to any VM, nor allocate more than one vCPU, etc.

Yes, sure, in theory VirtualBox 5.x can run some VMs (that don't use the above features) without VT-x, but that's not a great plan for the future.