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

Getting moving with Grocy

Now we have Grocy working , even if in skeletal form, the next hurdle is to cut the tie to the PC and go mobile. The advantages of being able to update stock levels on the hoof are obvious. All consume and purchase operations can be done at the point of use without the need to make notes and mark these up later. Inventorying can be performed at the storage location rather than dragging everything to the computer or more note making. What is needed, therefore, is mobile access to Grocy via a smartphone or tablet. There are multiple ways to achieve this. Web Browser The first and simplest method is to use the web browser on your device. Although, at least with Android devices, the browser is slightly finnicky about which address it will accept for the Home Assistant (HA) server. Using the standard homeassistant.local:8123 address results in an error message ' This site can't be reached DNS_PROBE_FINISHED_NXDOMAIN. ' There appear to be known problems with Android phones ...

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...

How-to: Setting up a Blogger account with a non-Google e-mail address

As I've set up an e-mail address for the blog it makes sense to be able to post from it too. To do that I will need to set up an account with Blogger for the new e-mail address. At the same time I'll create a gmail account to both manage the blog and give access to the Google apps suite without the monthly fee. Skullcinema@gmail.com is already taken (as there is nothing new under the sun), but I can take a related e-mail address. I won't publish it here as the first address will generate enough spam as it is. Setting up a gmail account really doesn't require a guide, but it is covered here if you need one. So, off to set up an account  through Blogger . First of all though, log out of Google and/or Chrome or it will pull you straight through to Blogger on the account you are logged in on. Choose SIGN IN in the top right-hand corner of the Blogger home page, and then select  Use another account underneath the list of your current Google accounts. Now ...