A. Maharjan

Install Ubuntu Desktop on VirtualBox

Install Ubuntu Desktop on VirtualBox

In this article, I will show you how to install Ubuntu desktop on VirtualBox. I'll be using Ubuntu 22.04.3 LTS and Oracle VM VirtualBox.

So, Why VirtualBox?

VirtualBox provides useful features such as running multiple operating systems simultaneously, whereas a virtual machine (VM) is the special environment that VirtualBox creates for your guest OS while it is running [Orac00].

Guest OS is an operating system running inside the VM.

Assuming you have already installed Oracle VM VirtualBox, the first step is to download the Ubuntu 22.04.3 LTS .iso image from https://ubuntu.com/download/desktop.

After the download, navigate to your VirtualBox and click on New.

figure 2

Create Virtual Machine with the following information:

  • Name: Provid a name for your VM
  • Folder: VM folder
  • ISO image: Specify the location of the Ubuntu 22.04.3 LTS .iso image
  • Type: Linux
  • Version: 64-bit

Check skip unattended installation and provide Hardware information:

  • Base memory: Allocate 4096 MB of memory
  • Processors: Allocate 2

For the hard disk, choose a 25 GB virtual hard disk named ubuntu-desktop.vdi.

Now, right-click on the newly created VM and click "Normal Start," as shown in the figure.

figure 4

As soon as the machine starts, you will see two options for Ubuntu:

  1. Try Ubuntu
  2. Install Ubuntu

figure 5

Select "Install Ubuntu," then choose your desired keyboard layout. For updates and other software, stick with the default checked items.

figure 6

For Installation type, choose Erase disk and install Ubuntu and continue.

figure 7

Furthermore, provide your location and user information; in my case:

figure 8

Time for a coffee break, as it make take sometime to complete the installation

figure 9

Restart the VM now

figure 10

And press enter

figure 11

Congratulations, you've just created an Ubuntu VM!

figure 12

Enjoy the first glimpse of your newly created VM.

figure 13

This post is part of the series called A Linux Crash Course for Absolute Beginners.

Bibliography

[Orac00] “Oracle® VM VirtualBox®.” https://www.virtualbox.org/manual/UserManual.html#virt-why-useful (accessed Jan. 31, 2024).