Prerequisites & Recommendations
- Enable virtualization in BIOS/UEFI (Intel VT-x or AMD-V).
- Suggested VM resources: 2+ vCPU, 8–12 GB RAM, 40+ GB disk for testing; this walkthrough uses ~9.2 GB RAM, 2 CPUs, and 200 GB disk.
- Keep the ISO and a checksum handy; verify if needed.
Create a Virtual Machine
- Open Oracle VirtualBox → click New and name it Ubuntu.
- Allocate resources (RAM/CPU) and create a virtual disk.
- Attach the Ubuntu ISO as the optical drive and set to boot.
Boot the ISO
Power on the VM. From the GRUB menu, choose Try or Install Ubuntu and follow the prompts.
Install Ubuntu 24.04 LTS
- On the desktop, click Install Ubuntu 24.04.x LTS.
- Choose language & keyboard, select install type and applications.
- Optionally enable third-party/proprietary drivers and media codecs.
- Partition the disk (guided is fine for a fresh VM) and confirm.
- Create your user, set timezone, and start installation.
Post-Installation
Update the System
sudo apt update
sudo apt upgrade -y
Optional: Install Guest Additions (Better Display & Clipboard)
- From the VM window menu: Devices → Insert Guest Additions CD image…
- In the guest OS, run:
sudo apt install -y build-essential dkms linux-headers-$(uname -r)
sudo mount /dev/cdrom /mnt
sudo /mnt/VBoxLinuxAdditions.run
sudo reboot
Summary
This walkthrough covered downloading the Ubuntu ISO, creating and configuring a VirtualBox VM, booting the installer, completing setup, and applying post-install updates.