How To Fix Ubuntu 24.04 Black Screen Virtualbox [Solved]

Immediate Fix: Adjusting Graphics Controller Settings

The most common cause for a black screen in Ubuntu 24.04 on VirtualBox is an incompatible Graphics Controller setting. Ubuntu 24.04 “Noble Numbat” defaults to Wayland, which requires specific hardware acceleration parameters.

Setting Recommended Value
Graphics Controller VMSVGA
Video Memory 128 MB (Minimum)
3D Acceleration Enabled

To apply this fix, shut down your virtual machine. Go to Settings > Display > Screen. Change the Graphics Controller to VMSVGA and ensure the Video Memory slider is at 128 MB or higher. Restart the VM.

If the screen remains black, try to access the terminal using Ctrl + Alt + F3. Once logged in, update your system and drivers using the following command:

sudo apt update && sudo apt upgrade -y
sudo apt install --reinstall xserver-xorg-video-vmware

Technical Explanation

Ubuntu 24.04 utilizes the latest Linux kernel and the GNOME 46 desktop environment. These versions have shifted heavily toward Wayland as the default display protocol.

VirtualBox’s default emulated drivers sometimes fail to initialize the display buffer correctly when transitioning from the GRUB bootloader to the graphical login screen. This results in a “hang” where the kernel is running, but the visual output is not rendered.

By selecting VMSVGA, you are using the VMware-compatible driver which is currently more stable for Linux guests within VirtualBox. Increasing the Video RAM ensures there is enough buffer space for high-resolution rendering.

Troubleshooting Ubuntu 24.04 black screen in VirtualBox settings.

Alternative Methods

Method 1: Disabling EFI

In some hardware configurations, the Ubuntu 24.04 EFI bootloader conflicts with VirtualBox’s virtual firmware. You can try disabling EFI in Settings > System > Motherboard by unchecking “Enable EFI (special OSes only)”. Note that this may require a re-installation if your disk was already partitioned for GPT.

Method 2: Using the ‘nomodeset’ Parameter

If you cannot reach the desktop, you can temporarily disable video mode setting during boot. Restart the VM and hold Shift or tap Esc to enter the GRUB menu.

Highlight ‘Ubuntu’, press e to edit, and find the line starting with linux. Append nomodeset to the end of the line. Press F10 to boot.

# Example of edited line:
linux /boot/vmlinuz-xxx root=UUID=xxx ro quiet splash nomodeset

Method 3: Increasing Processor Cores

Ubuntu 24.04 is resource-heavy. Ensure you have allocated at least 2 CPU cores in Settings > System > Processor. Running a modern Ubuntu distribution on a single core often leads to timeout errors during the display manager initialization.