Hire the author: Bijita K

When installing Ubuntu you may come across this issue in Virtualbox. Initially, the installation may run smoothly. Then once you restart the screen goes completely black with or without the ubuntu logo. There can be a lot of reasons why this is happening. In this article, we are going to explore its multiple causes. And attempt multiple approaches to solve this issue in Virtualbox.

Virtualization Issue & Solution

Commonly virtualization may be the cause of this issue. Ensure virtualization is enabled on your computer. In order to do this, you should type task manager on the Windows search bar and open it. Click the Performance tab and choose CPU. You should check the virtualization status here as shown below:

Image of task manager that shows if virtualization is enabled

If it is turned on then, next you should make sure that your computer has the virtual machine platform feature turned on. Additionally, also make sure that the windows hypervisor platform feature is turned off. In order to do this, you should type “Turn windows features on or off” on the Windows search bar and open it.

Common Virtualbox Issues & Solutions

If the above methods do not work then the next step is to try out the following common solutions to solve the Virtualbox issue. These may sometimes be causing the issue:

  • Try changing out your video memory to 128 MB from the display tab in the settings of the virtual machine
  • Change your graphics controller to VMSVGA from the display tab in the settings of the virtual machine
  • Ensure your ISO image is not corrupted. For this, you can download it from the official site https://ubuntu.com/.

Try reopening your virtual machine after this. If you are still facing the issue in Virtualbox then Hyper-V(Hypervisor) may be causing it.

Hypervisor Issue & Solution

In your Virtualbox virtual machine instance window check if there is a little turtle visible in the bottom right corner.

VirtualBox instance showng a green turtle in the bottom right corner.

This could mean that a hypervisor could be active. This could be causing the issue in Virtualbox. Additionally, in order to check this, type system information in the windows search bar and open it. In the system summary, you should check if the hypervisor is detected as shown in the end detail of the following picture.

If you find this, go through the following steps to turn the hypervisor off completely.

  1. Shut down all the programs
  2. Open the command prompt by typing cmd into the Windows search bar and selecting the run as administrator option.
  3. Enter this command to turn the hypervisor off
bcdedit /set hypervisorlaunchtype off
view raw Turnoff hosted with ❤ by GitHub

Also, this additional command may sometimes be needed.

DISM /Online /Disable-Feature:Microsoft-Hyper-V
view raw turnoff1 hosted with ❤ by GitHub

4. Then enter this command.

shutdown -s -t 2
view raw Shutdown hosted with ❤ by GitHub

Once the computer turns off, wait for 20 seconds and restart it. Then try opening the virtual machine instance in the Virtualbox. It should work now.

Trying out web development? Try these blogs to help you out.

Laravel and Vue

https://blog.ldtalentwork.com/2020/10/28/laravel-vue-heroku-full-stack-application-development/

React

https://blog.ldtalentwork.com/2021/10/13/how-to-create-a-cryptocurrency-app-using-react/

Hire the author: Bijita K