VirtualBox Ubuntu 24.04 VM Shows Black Screen on Boot

Abstract: Resolve black screen boot issues in Ubuntu 24.04 VirtualBox VMs by switching the graphics controller to VMSVGA and disabling 3D acceleration.

Created: 2026-09-06 by
The black screen issue in Ubuntu 24.04 VirtualBox VMs is typically caused by a conflict between the virtual graphics controller and recent kernel updates, or incorrect display settings inherited from Docker Desktop installations. Switching the Graphics Controller to VMSVGA within VirtualBox settings resolves most boot failures. Additionally, ensuring that 3D Acceleration is disabled prevents driver initialization errors during the early boot phase. This guide details the precise configuration changes required to restore normal video output.

Adjusting Graphics Controller Settings

The primary culprit for a black screen with a blinking cursor is the default graphics controller selection. While VirtualBox often defaults to VBoxSVGA for newer guests, this can cause instability with Ubuntu 24.04's specific kernel modules. The VMSVGA controller is generally more compatible with modern Linux distributions in a virtualized environment.

To correct this, you must modify the VM settings before attempting to boot. First, ensure the virtual machine is completely powered off, not just suspended. Navigate to the VirtualBox Manager interface and select your Ubuntu 24.04 instance. Open the Settings window and locate the Display category in the left-hand menu. Under the Screen tab, find the Graphics Controller dropdown menu. Change this setting from VBoxSVGA or VBoxVGA to VMSVGA. This change forces the virtual hardware to emulate a standard VGA adapter that the Ubuntu kernel recognizes reliably. After making this selection, click OK to save the configuration.

Disabling 3D Acceleration

Even after correcting the graphics controller, the VM may still fail to display output if 3D acceleration features are enabled. The guest additions for Ubuntu 24.04 may not fully support the accelerated rendering paths provided by VirtualBox, leading to a hang during the graphical interface initialization. Disabling this feature forces the system to use basic 2D rendering, which is sufficient for installation and general desktop use.

In the same Display section of the VM settings, look for the checkbox labeled Enable 3D Acceleration. Ensure this box is unchecked. If it was previously checked, unchecking it is critical. Some users also report success by increasing the Video Memory slider to its maximum value, typically 128 MB. This ensures that the virtual framebuffer has enough allocated resources to handle the display resolution without crashing. Once these adjustments are saved, attempt to start the VM again.

Resolving Docker Desktop Conflicts

The context indicates that Docker Desktop was recently installed. Docker Desktop on Windows and macOS often installs hypervisor drivers and network adapters that can interfere with VirtualBox networking and display services. Specifically, the Hyper-V platform might be running in the background, conflicting with VirtualBox’s own hypervisor capabilities. This conflict can manifest as a black screen because the VM cannot properly initialize its virtual hardware interfaces.

To resolve this, you should verify that VirtualBox is set to use its native hypervisor rather than competing with Hyper-V. In the VirtualBox main window, go to File > Host Network Manager and ensure your virtual networks are correctly configured. More importantly, check the General > Advanced tab in your VM settings. Ensure the Pasteboard and Floppy settings do not have any legacy devices attached that might delay boot. If you are on Windows, consider temporarily disabling Hyper-V via the command line using bcdedit /set hypervisorlaunchtype off to see if VirtualBox gains exclusive access to hardware virtualization. However, simply adjusting the display settings as described above usually bypasses the need for deep hypervisor conflicts.

Checking GRUB and Kernel Parameters

If the black screen persists despite correct graphics settings, the issue may lie with the GRUB bootloader passing incorrect parameters to the kernel. During boot, you may see a blinking cursor because the kernel panics when it cannot mount the root filesystem or load video drivers. You can diagnose this by interrupting the boot process. When the GRUB menu appears, press E to edit the boot entry. Look for the line starting with linux and append nomodeset to the end of the line. This tells the kernel to not load video drivers until after the basic system is up.

Press F10 or Ctrl+X to boot with these temporary parameters. If the system boots successfully into a low-resolution mode, you know the issue is driver-related. You can then make this change permanent by editing the /etc/default/grub file inside the VM (if accessible) or reinstalling the guest additions once the system is running. Note that nomodeset is a diagnostic step; do not leave it permanently unless necessary for very old hardware.

Reinstalling Guest Additions

Once the VM is booting normally with the corrected settings, it is crucial to install or reinstall the VirtualBox Guest Additions. These packages provide optimized mouse pointer integration, shared folders, and better video performance. Without them, the VM may remain stuck at low resolutions or exhibit other graphical glitches. Insert the Guest Additions CD image from the Devices menu in the VirtualBox toolbar. Open a terminal in Ubuntu and run the installation script provided. Reboot the VM after installation to apply the new drivers.

For further assistance with network configurations that might affect your VM's connectivity, you can refer to our guide on Connect Specific IP Address Server on VirtualBox Behind NAT.

Frequently Asked Questions

Why does my VM show a black screen immediately after selecting "Start"?

This usually indicates a failure in the graphics subsystem initialization. The most common fix is switching the Graphics Controller to VMSVGA and disabling 3D Acceleration in the VM settings. This forces the VM to use a basic, stable video driver that Ubuntu 24.04 can recognize without crashing.

Can I use VBoxSVGA instead of VMSVGA for better performance?

While VBoxSVGA offers higher performance in some scenarios, it is less stable with recent Ubuntu kernels in VirtualBox. VMSVGA is the recommended standard for Linux guests because it closely mimics real-world VGA hardware, reducing driver compatibility issues during boot.

Does Docker Desktop prevent VirtualBox VMs from booting?

Docker Desktop itself does not directly block VirtualBox, but it may enable Hyper-V or other hypervisor features that conflict with VirtualBox’s operation. Ensuring that VirtualBox uses its own hypervisor and adjusting display settings usually resolves any resulting boot failures or black screens.

What should I do if the VM boots but the resolution is too small?

If the VM boots successfully but displays a small, fixed resolution, you likely need to install the VirtualBox Guest Additions. Go to the Devices menu, select Insert Guest Additions CD Image, and follow the installation instructions in the terminal to enable dynamic resizing.

Is it safe to disable 3D Acceleration in a Linux VM?

Yes, it is safe and often necessary for stability. Most Linux desktop environments run perfectly fine with 2D acceleration. Disabling 3D Acceleration prevents potential driver crashes during the initial boot sequence, especially if the guest additions are not yet installed or are outdated.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More