Stuck: Installing Ubuntu 24.04 on VirtualBox 7.0.20 (Windows 11 PC)

Abstract: Resolve Ubuntu 24.04 boot failures in VirtualBox 7.0.20 by configuring EFI, RAM, and VBoxSVGA display settings.

Created: 2026-08-02 by

Installing Ubuntu 24.04 on VirtualBox 7.0.20 requires specific hardware virtualization settings to avoid boot failures. You must enable EFI, allocate sufficient RAM, and configure the display controller correctly in the VM settings before starting the installation process.

Prerequisites and System Preparation

Before creating a new virtual machine, ensure your Windows 11 host meets the necessary requirements. VirtualBox relies heavily on hardware virtualization technologies provided by your CPU. On most modern Intel and AMD processors, this feature is called VT-x or AMD-V. If this is disabled in your BIOS/UEFI settings, VirtualBox will fail to start any 64-bit operating system. You should verify that this feature is enabled in your motherboard's firmware settings. Additionally, ensure you have downloaded the official ubuntu-24.04-desktop-amd64.iso file from the Ubuntu releases page. Using an older or corrupted ISO can lead to installation hangs or checksum errors later in the process. It is also advisable to check for pending Windows updates. Sometimes, Hyper-V conflicts can interfere with VirtualBox’s access to hardware virtualization extensions. While VirtualBox 7.0 has improved compatibility with Hyper-V, disabling it temporarily during setup can prevent subtle initialization issues. If you are unsure about your current configuration, refer to our guide on PowerSuspend: VM Failed to Start or Interrupted in Oracle VirtualBox on Windows 11 for troubleshooting startup errors related to host system states.

Creating the Virtual Machine

Open VirtualBox Manager and click on "New" to create a fresh virtual machine. Name your VM (e.g., "Ubuntu 24.04") and select Linux as the Type and Ubuntu (64-bit) as the Version. The installer should automatically detect the correct profile. For the Memory size, allocate at least 4096 MB (4 GB) of RAM. Ubuntu 24.04 runs smoothly with 4 GB, but if your host has 16 GB or more, consider giving 8 GB to ensure responsive performance during package installations. For the Processor settings, assign at least 2 CPUs. Ubuntu 24.04 is optimized for multi-core systems, and assigning only one vCPU can cause significant lag during the desktop environment setup. When configuring the Hard Disk, choose "Create a Virtual Hard Disk Now." Select VDI (VirtualBox Disk Image) as the format, and dynamically allocated storage to save space on your Windows 11 drive initially. Allocate at least 25 GB for the virtual hard disk, though 50 GB is recommended for long-term use if you plan to install development tools or large datasets.

Configuring VM Settings for Compatibility

Once the VM is created, do not start it immediately. Instead, right-click the VM and select "Settings" to adjust critical components. Navigate to the "System" > "Motherboard" tab. Here, increase the Base Memory if needed and ensure the Boot Order includes Optical Drive first. More importantly, move the Optical Drive to the top of the list so the VM attempts to boot from the ISO image rather than the empty virtual hard disk. Under the "System" > "Processor" tab, ensure that Paravirtualization Interface is set to Default or Hyper-V, depending on your host configuration. The Display settings are crucial for Ubuntu 24.04. Go to the "Display" tab and set Video Memory to 128 MB. Change the Graphics Controller to VBoxSVGA. This driver offers the best compatibility with Ubuntu’s GNOME desktop environment in a virtualized setting. Avoid using VMSVGA unless you encounter specific graphical glitches, as VBoxSVGA generally provides better mouse integration and resolution scaling. You must also enable EFI. In the "System" > "Motherboard" section, check the box for "Enable EFI." Ubuntu 24.04 uses GRUB2 which benefits from EFI mode, especially on newer hardware emulations. Without EFI enabled, you may see a black screen after the initial boot sequence. After adjusting these settings, go to the "Storage" section. Under "Controller: IDE" or "Controller: SATA," click the optical drive icon and select "Choose a disk file." Browse to your downloaded ubuntu-24.04-desktop-amd64.iso and attach it.

Network Configuration

By default, VirtualBox sets the network adapter to NAT. This is sufficient for internet access during installation. However, if you need to access the VM from your host machine via SSH later, you might want to change this to Bridged Adapter or configure Port Forwarding. For the initial installation, leave it as NAT to simplify the process. Ensure the "Cable Connected" checkbox is checked so the installer can download security updates and additional packages.

Running the Installation

Start the virtual machine. You should see the GRUB menu appear within a few seconds. Select "Try or Install Ubuntu." Once the live environment loads, double-click the "Install Ubuntu 24.04 LTS" icon on the desktop. Follow the on-screen prompts for language, keyboard layout, and Wi-Fi connection. When asked for installation type, select "Guided - use entire disk." Confirm that you want to write changes to the virtual disk. During the setup, you will be prompted to create a user account. Choose a username and password. You can also select "Log in automatically" for convenience, though manual login is more secure. The installation will copy files and install the base system. This process typically takes 10-15 minutes depending on your host's I/O speed. Once complete, click "Restart Now." Remove the ISO image from the virtual optical drive when prompted to avoid rebooting into the live installer again. After the restart, you will be greeted by the Ubuntu login screen. Enter your credentials to access the desktop. Run sudo apt update && sudo apt upgrade in the terminal to ensure all packages are up to date. This final step ensures you have the latest security patches and kernel modules for VirtualBox guest additions. For more detailed troubleshooting on installation failures, see our article on Experiencing Two Big Problems Trying to Install Ubuntu 24.04.1 LTS on VirtualBox?.

Frequently Asked Questions

Why does my VirtualBox VM show a black screen after booting?

This usually indicates a mismatch between the graphics controller and the guest OS. Switching the Graphics Controller in the Display settings from VMSVGA to VBoxSVGA often resolves this issue. Additionally, ensure that EFI is enabled in the motherboard settings for Ubuntu 24.04.

Can I install Ubuntu 24.04 without an ISO file?

No, you cannot directly install Ubuntu without an installation medium. You must download the official ISO image and attach it to the VM's virtual optical drive. Alternatively, you could use cloud-init images, but that requires advanced networking setup and is not suitable for standard desktop installations.

How do I fix slow performance in Ubuntu on VirtualBox?

Ensure you have installed the Guest Additions, which provide optimized drivers for video and input. Also, verify that you have allocated enough RAM (at least 4GB) and at least two CPU cores. Disabling 3D acceleration in the Display settings can sometimes improve stability if graphical glitches occur.

What should I do if the installer freezes at 'Copying files'?

A freeze during file copying often points to insufficient disk I/O or memory allocation. Try increasing the virtual hard disk size limit and ensuring your host machine has enough free RAM. Checking the host's background processes for heavy disk usage can also help identify resource contention.

Is it safe to use NAT networking for Ubuntu in VirtualBox?

Yes, NAT is perfectly safe and recommended for initial setup as it allows the VM to access the internet while hiding its internal IP address from the host network. It prevents external attacks from reaching the VM directly. If you need to expose services like Apache, you must manually configure port forwarding rules.

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