VirtualBox - Install Ubuntu 22.04
Launch VirtualBox.
Step 1 - Create a new virtual machine
Select New.
Provide a name for the new virtual machine.
Click the Next button.
With Create a virtual hard disk now selected, click the Create button.
With VDI (Virtual Disk Image) selected, click the Next button.
With Dynamically allocated selected, click the Next button.
Leave the name of the hard disk as populated.
Select the hard disk size, which for Ubuntu should preferably be in the region of 15 GB to 25 GB.
Click the Create button.
Step 2 - Adjust the machine settings
With the newly created machine selected, select Settings.
Select System.
Ensure the Motherboard tab is selected.
In the centre pane, untick Floppy and click on the down arrow to move Floppy to below Hard Disk.
Ensure Optical is now at the top of the list followed by Hard Disk.
Click the OK button.
Set the Processor(s): to a desired setting within the green section.
Under the headng Storage Devices select Empty under Controller: IDE.
In the right pane to the right of Optical Drive click on the CD/DVD icon.
Select Choose a disk file...
Navigate to where you the downloaded the ISO.
Select the ISO and click the Open button.
Click the OK button.
The new machine is now ready to run for the first time.
Step 4 - Installing Ubuntu 22.04
With the new Ubuntu machine selected, click the green Start arrow.Ubuntu will start loading.
Select your preferred language and click the Install Ubuntu button.
Select the keyboard layout and click the Continue button.
Select your preferred settings for Updates and other software and click the Continue button.
With Erase disk and install Ubuntu selected click the Install now button.
Click the Continue button.
Select your region.
Insert details for your name, computer name, username and password.
Click the Continue button.
Finally to access the newly installed Ubuntu operating system, click the Restart Now button.
The installation medium is normally removed automatically by VirtualBox.
This can be checked by selecting the Devices menu from the VirtualBox Manager window.
Select Optical Drives.
The last item in the fly out menu is Remove disk from virtual drive.
If this item is greyed out, the installation medium has already been removed.
Click out of the menu items and press the Enter key to continue.
Select your name to sign in.
Select your preferred settings for the next steps.
Ubuntu will now load and is ready to use.
Step 5 - Change boot order
Alter the boot order so that the Hard Disk is set to boot first.
From the VirtualBox Manager select Settings.
Select System.
Select the Hard Disk in the list and by using the arrow buttons, move it to the top of the list.
Step 5 - Install guest additions
See VirtualBox Guest Additions - Ubuntu for adding Guest additions in VirtualBox to view Ubuntu in full screen.