Error when installing Ubuntu 20.04 in VirtualBox

I had this issue as well after I had enabed hyper-v on windows 10.

To fix it I, made sure I disabled hyper-v by doing the following.

  1. Open 'Turn Windows features on or off' (search for that in the start menu)
  2. Untick hyper-v, Windows hypervisior platform and virtual machine platform.
  3. Start the command prompt as an administrator. (type cmd in the start menu, right click 'command prompt' and select 'run as administrator')
  4. Run the following command bcdedit /set hypervisorlaunchtype off

After a restart it seemed to install and work.

Credit to u/SquareVehicle on r/virtualbox who suggested the bcdedit command