Search⌘ K
AI Features

Installing the Guest Operating System

Understand how to install Ubuntu on a VirtualBox virtual machine by selecting installation media, configuring system options, creating user credentials, and managing the virtual disk. This lesson guides you through the entire process including handling partitions, installing updates, and rebooting to access the new OS.

VirtualBox creates guest machines that run on top of a host machine. The host machine is the machine running VirtualBox. It hosts various virtual machines running as guests inside of VirtualBox. Once we define a virtual machine, we install an operating system, much like installing a real operating system on a computer. Let’s install Ubuntu on this machine using the disk image we downloaded.

Installing Ubuntu on our virtual machine

When we first start our virtual machine, VirtualBox detects that there’s no operating system and prompts us to install one. We start the machine, select our Ubuntu virtual machine from the list of machines, and press the green “Start” button at the top of the VirtualBox interface.

VirtualBox prompts us for a virtual disk or optical disk that holds the ...