7

I would like to install the new Ubuntu 24.04 on a VM with VirtualBox. I have setup the new VM by following the Ubuntu website like this:

VM setup

The problem is that when I start this VM and the boot menu appears, I click on Try or Install Ubuntu and then a black screen with only a blinking white underscore character appears.

Here is the zip file with the log. I can't understand what is wrong with this machine.


Honestly i gave up trying to get this VM to work and I made a dual boot Win11/Ubuntu :) Everything is working fine without problems. Thanks all for support anyway.

Zanna
  • 72,312
tommy86
  • 71

5 Answers5

1

You may improve your host environment for Ubuntu 24.04 by these steps:

  1. Get and install the latest VirtualBox
  2. Restart your computer and check the CPU settings in BIOS: Intel VT-x or AMD-V should be enabled
  3. Last but the most important: disable Hyper-V with the following command in an elevated PowerShell prompt:
  Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
Yu Sun
  • 86
  • 3
0

i had the same issue because my hardware was really old, so my laptop didn't supported virtualization.

maybe it's the same problem with you. Just go to the BIOS when you boot your PC and then check if virtualization is enabled. If it's not enabled then enable it and try to install again. It should get installed, but if not then redownload the .iso setup file, and maybe if your hardware doesn't support virtualization then you can't install Ubuntu or any OS, so simply install it as a primary OS if you want.

thanks.

karel
  • 122,292
  • 133
  • 301
  • 332
0

I had the same issue. You see in Storage where the secondary controller says Unattended? I think this means you need to add your ISO file for Ubuntu-24.04 again.

This YT video explains how to do it: https://youtu.be/DhVjgI57Ino?si=fKUo-CNEqB-q2aSd&t=502

The only difference is that instead of seeing "Empty" in the controller ide, you'll see a long path for the "unattended" ISO. After making that change, it should hopefully fix the issue—I know that was the solution that worked for me.

slasch
  • 11
0

I managed to get the Ubuntu 24.04 Server version to work on Virtualbox without the desktop.

It seems that the kernel version 6.8 (default) crashes (as of 6.8.0-56) when running Ubuntu 24.04 desktop (I'd think also the installer crashes/freezes).

However, if you can either

  • use non-desktop version e.g. server, use just the command line, emergency mode or otherwise without GUI
    • I installed first the ubuntu 24.04 without desktop, and then enabled it by installing apt-get ubuntu-desktop gdm gnome3 . However, to get the system stable on Virtualbox, I had to do also:
  • and / or use or install an older kernel (i.e. 5.15) tot he box it seems to be working fine. The issue is with kernel 6.8 and Ubuntu 24.04 GUI/desktop.
-1

Installing Ubuntu 24.04 on Oracle VirtualBox is a straightforward process, ideal for exploring the latest features of Ubuntu within a virtual environment. Follow these steps to set it up:

Download Ubuntu 24.04 ISO:

Visit the official Ubuntu website and download the ISO file for Ubuntu 24.04 LTS (Long Term Support).

Install Oracle VirtualBox:

If you haven't already, download and install Oracle VirtualBox from the official website. VirtualBox is a powerful virtualization tool that allows you to run multiple operating systems on your computer.

Create a New Virtual Machine:

Open VirtualBox and click on the "New" button to create a new virtual machine. Follow the wizard, providing a name for your VM and selecting "Linux" as the type and "Ubuntu (64-bit)" as the version.

Allocate Memory:

Choose the amount of memory (RAM) to allocate to your virtual machine. Ubuntu 24.04 typically runs well with at least 2GB of RAM, but you can adjust this according to your system's resources.

Create a Virtual Hard Disk: Create a virtual hard disk for your Ubuntu VM. Choose the default options unless you have specific requirements.

Configure Settings:

Before starting the VM, you can configure additional settings such as the number of CPU cores, video memory, and enabling features like 3D acceleration.

Mount Ubuntu ISO:

In the settings of your VM, go to "Storage" and select the empty disk under "Controller: IDE." Click on the disk icon next to "Optical Drive" and choose "Choose a disk file." Select the Ubuntu 24.04 ISO file you downloaded earlier.

Start the Virtual Machine:

With the ISO mounted, start the VM. The Ubuntu installation process should begin automatically. Follow the on-screen instructions to install Ubuntu on the virtual hard disk.

Complete Installation:

Once the installation is complete, VirtualBox may prompt you to remove the installation media (the Ubuntu ISO). If not, go to the VM settings, remove the ISO from the virtual optical drive, and restart the VM.

Enjoy Ubuntu 24.04:

Your Ubuntu 24.04 virtual machine is now ready to use! Explore the new features and functionalities of Ubuntu within VirtualBox.

For a visual walkthrough of the installation process, check out this tutorial on TechTalk's YouTube channel: https://www.youtube.com/watch?v=2GjMQtocAsY&t=2s&ab_channel=TechTalk

user68186
  • 37,461