E_FAIL (0x80004005)

VirtualBox VM Black Screen on Boot — 3 Fixes

Server & Cloud Intermediate 👁 13 views 📅 Jun 20, 2026

Your VM boots to a black screen with no cursor. Usually it's the graphics controller or 3D acceleration. I'll walk through the real fixes.

1. Graphics Controller Set to Wrong Type

This is the first thing I check on any Windows 10/11 or modern Linux VM that boots to a black screen. The default graphics controller in VirtualBox 6.1 and 7.0 for Windows guests is VBoxSVGA. For Linux guests it's VMSVGA. If you created a VM with the wrong one, or changed it, you'll get a black screen.

What's actually happening here: the guest OS can't talk to the virtual GPU because the driver doesn't match the controller. So it falls back to basic VGA mode, which the guest ignores, and you get nothing on screen.

  1. Shut down the VM completely (force off if needed).
  2. Open VirtualBox, right-click the VM, choose Settings.
  3. Go to Display tab.
  4. Under Graphics Controller, pick:
    • For Windows guests: VBoxSVGA
    • For Linux/Ubuntu guests: VMSVGA (or VBoxVGA for older distros)
  5. Uncheck Enable 3D Acceleration — more on this in the next section.
  6. Click OK and boot the VM.

If the VM still shows a black screen, move to the next fix.

2. 3D Acceleration Enabled When It Shouldn't Be

3D acceleration in VirtualBox is flaky. I've seen it break boot on everything from Ubuntu 22.04 to Windows 11 23H2. The reason step 3 works is: when 3D acceleration is on, the guest tries to use OpenGL or Direct3D for the desktop compositor. If the virtual GPU drivers don't match the host's graphics stack, it hangs at a black screen.

This is especially common on macOS hosts. The host's Metal API doesn't play nice with VirtualBox's 3D translation layer. On Linux hosts with Wayland, same story.

  1. In the VM settings, go to Display.
  2. Uncheck Enable 3D Acceleration.
  3. Also uncheck Enable 2D Video Acceleration (this one's mainly for Windows guests, but safe to disable for testing).
  4. Set Video Memory to at least 128 MB. For Windows 10/11, go to 256 MB if your host has enough RAM.
  5. Click OK and boot.

If the VM boots now, you can try re-enabling 3D acceleration later — but honestly, most guests don't need it. Office work, web browsing, and even light development run fine without it.

3. Incorrect Boot Order or Missing EFI Partition

Less common but nasty. You get a black screen because the VM can't find a bootable device. This happens when you change the boot order or use a different OS installer that leaves the EFI partition in a weird state.

Real scenario I ran into: I installed Ubuntu 24.04 LTS on a VM with EFI enabled. Later I attached an empty SATA drive and set it as first boot device by accident. The VM showed a black screen for 20 seconds, then dropped to a UEFI shell. Not a pure black screen, but close enough to fool people.

Check this:

  1. Open VM settings > System > Motherboard tab.
  2. Under Boot Order, make sure Hard Disk is checked and at the top. Uncheck Floppy and Optical unless you need them.
  3. If you're using EFI, check Enable EFI (special OSes only) — but only if the guest was installed with EFI. Switching between BIOS and EFI after installation breaks boot.

Still black? Boot from a live ISO (Ubuntu or GParted) and check the disk partitions. You need a valid EFI partition (FAT32, ~512 MB) with the flag esp. If it's missing, you can recreate it — but that's a separate rabbit hole.

Quick-Reference Summary Table

Cause What to check Fix time
Wrong graphics controller Set to VBoxSVGA (Windows) or VMSVGA (Linux) 1 minute
3D acceleration on Uncheck both 3D and 2D acceleration 30 seconds
Boot order / EFI issue Hard disk first, EFI enabled only if needed 2 minutes

These three cover about 90% of black screen cases on VirtualBox 7.0.x. If none of these work, try reinstalling the VirtualBox Guest Additions from safe mode, or create a fresh VM — sometimes the base config is just corrupted.

Was this solution helpful?