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
.
Create Virtual Machine with the following information:
- Name: Provide 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.
As soon as the machine starts, you will see two options for Ubuntu:
- Try Ubuntu
- Install Ubuntu
Select "Install Ubuntu," then choose your desired keyboard layout. For updates and other software, stick with the default checked items.
For Installation type
, choose Erase disk and install Ubuntu
and continue
.
Furthermore, provide your location and user information; in my case:
Time for a coffee break, as it make take sometime to complete the installation
Restart the VM now
And press enter
Congratulations, you've just created an Ubuntu VM!
Enjoy the first glimpse of your newly created VM.
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).