Skip to main content

Resolving a VirtualBox BIOS error on an MSi motherboard-based PC

What follows is how I solved the following error message from VirtualBox.

Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).
AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED).
Result Code:E_FAIL (0X80004005)
Component:ConsoleWrap
Interface:IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

VERR_SVM_DISABLED error message from VirtualBox

What am I messing around with hypervisors and virtual machines for? And for that matter, what's a virtual machine anyway? Answers to these questions are here; but back to the matter at hand.

Fortunately the error message is actually quite helpful and gives us the answer to solving the problem. SVM is disabled in the BIOS.

SVM is the TLA for Secure Virtual Machine (see this article for more information) and the BIOS on motherboards is normally shipped with this option disabled, because the majority of users never need to use it and having it enabled is a minor but not insignificant security issue.

I am running an MSi A320M-A PRO motherboard so accessing the BIOS is simply a matter of holding down the DEL key at start up and, instead of booting to Windows, the user interface for the MSi Click BIOS will appear (I am running the 7C51 2020 version not the flashy Click 5 version though).

The required setting change in this case is,

Overclocking > CPU Features > SVM Mode > Enable.

Once it is set to Enabled simply Save Changes and Reboot and VirtualBox will now start to play ball.

Now we can get a virtualised server set up what's next? Well that would be getting Home Assistant and Grocy on-line.

For anyone who wants a step-by-step tutorial, see below. Apologies for the picture quality, but it should be good enough. There are a series of other tutorials out there but the BIOS options seem to be quite variable (here are three different options from MSi [1/2/3] all from the same Google search).

Step-by-step tutorial

After holding down the DEL key at start up here is the first screen I was greeted with. Your mouse should still be working so mouse over and click on the Overclocking icon circled in red.

BIOS Start Menu

Once you are on the Overclocking Menu tab, scroll down to the bottom of the page,

BIOS Overclocking Menu

where you will find a menu item, CPU Features (red box).

Locate CPU Features option

Selecting that leads to the Overclocking\CPU Features menu and you are looking for the SVM Mode option (red box), which is marked as [Disabled].

BIOS Overclocking CPU Features Menu

Clicking the Disabled text will bring up an option box titled SVM Mode from which you can select Enabled.

BIOS SVM Mode option

Once that reads SVM Mode - Enabled go to the Save & Exit tab (red circle in screenshot below) and select Save Changes and Reboot (red square).

BIOS Save & Exit option

This will generate a pop up asking "Save configuration and reset?" Clicking Yes will restart your PC,

BIOS alterations complete

when your PC has restarted you should be able to launch VirtualBox and start up a VM from it with no errors. Well, at least not the one you started with.

Comments

Popular posts from this blog

Grocy and its Home Assistant Add-on

The next layer of the Virtual Bean Counter software stack is the meat in the sandwich, Grocy (see Grocy system install ). As with the Home Assistant (HA) Operating System that was reviewed previously the aim of this article is to consider the support and backup options for the Grocy system as installed onto our HA virtual machine . But first a little history. Whither Grocy ? It sprang from the desire of a software developer, Bernd Bestel , to progress beyond using Excel (as we know a great spreadsheet and data analysis tool but with a limited UI) to something more fully featured by exploiting his experience with commercial inventory management. The first version of Grocy was released in 2017 and after seven years is now on its fourth full point release . However, unlike HA, it is essentially a one-man band with a single developer responsible for pretty much the entirety of the content all without stable funding (currently). That said the package is quite mature and " does wha...

Further adventures in household paper products

As the toilet rolls are up and running I couldn't resist adding the rest of the loft stocks into the mix. The next two items are kitchen roll and facial tissues . Following the same process described for toilet rolls; kitchen roll comes in a multipack, but this time a case has four packs of three rolls and we already have the storage location, shop and quantity units set up. Again, I think we'll have to set up a generic item (Parent product) as well as a specific one for the Kirkland brand rolls (Child product). So I gave it a name, Kitchen roll and a description; default storage location and shop, Loft / Costco ; a min stock amount, 3 rolls ; all the quantity units are Roll . Job done. Now for the specific product, as previously, pulling images and descriptions off the Costco website, setting up case and pack barcodes and quantity conversions between them, buying in Cases and using in Packs . But hang on, do we really want to track in packs of three? We only need a sin...

Man Down! - HA-Grocy goes off the rails

Problems, problems. As part of an HA-Grocy update to v0.24.0, released on the 16 th Feb 2025, a point version upgrade of Grocy was included from v4.3.0 to v4.4.1. Unfortunately it was found that the update had dismasted parts of the HA-Grocy app (see 1 / 2 ), preventing users from opening pop-up windows in the Grocy iframe ; for instance, when clicking the " Add " button in tasks no action is taken. The root cause was a bug in the Grocy version released on the 31 st January (v4.4.1). Although to be fair, Grocy is not specifically aimed at supporting Home Assistant (HA) and as a standalone installation the Grocy program continued to function normally. Happily, the bug was patched by Bernd in v4.4.2, released on 28 th Feb. Unhappily, the HA-Grocy Add-on is still missing the patch as of the 20 th June. So if you are installing from the Add-on Store in Home Assistant it simply won't be fully functional (this is tested and confirmed). If you've already install...