Home
Networking
Windows & Linux
Cybersecurity
Blog
Installing Ubuntu on Oracle VirtualBox
Download the Ubuntu 24.04 LTS ISO, create a VM in VirtualBox, allocate resources, boot the ISO, run through the installer, and finish with updates.
Ubuntu Desktop ISO
·
Oracle VirtualBox
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; you used ~9.2 GB RAM , 2 CPUs , and 200 GB disk in this walkthrough.
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
❮
❯
Restart after install.
Login screen.
Welcome prompt.
Desktop environment.
Terminal.
Check for updates.
Run upgrades.
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
This walkthrough covered downloading the Ubuntu ISO, creating and configuring a VirtualBox VM, booting the installer, completing setup, and applying post‑install updates. You can reuse the gallery pattern above on other pages—just change the container id and image paths.
Back to Home