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

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

Getting to grips with Grocy

After only a few hiccoughs along the way we are entering the final stage of the Grocy set-up procedure. Getting barcode scanning working should markedly streamline the process of dealing with products. As this was a test of the Grocy system it was definite that I was going to use the camera on my phone as a barcode scanner. But there are options around this choice if everything works as required and the system progresses into an installation phase. Although use of a phone camera is by far the simplest method of capturing barcodes, it is not the one suggested by Grocy's creator, Bernd Bestel . He recommends the use of a dedicated barcode scanner. These days they are not that expensive and a basic wired model can be found for as low as £12. Not that I think that this is a good idea unless you want to lose the mobility that we have just set up . For twice the price (still not that much if you are using Grocy routinely) you can get a wireless version, which should retain your freedo...