VirtualBox - Install Ubuntu 22.04

 

    Launch VirtualBox.

Step 1 - Create a new virtual machine

    Select New.
    
Screenshot of VirtualBox main console.

    Provide a name for the new virtual machine.

Screenshot of popup to enter name and operating system details.

    Set the memory size, as much as your system allows without going beyond the green section.
    Click the Next button.    

Screenshot of popup to enter memory size.

    With Create a virtual hard disk now selected, click the Create button.

Screenshot of popup to enter hard disk size.

    With VDI (Virtual Disk Image) selected, click the Next button.

Screenshot of popup to enter hard disk file type.

    With Dynamically allocated selected, click the Next button.

Screenshot of popup to enter storage on hard disk.

    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.

Screenshot of popup to enter file location and size.

    You will be returned to the VirtualBox Manager, now displaying the newly created machine.

Screenshot of main VirtualBox console displaying newly created virtual machine.

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.

Screenshot of console to enter base memory size and boot order.

    Click on the Processor tab.
    Set the Processor(s): to a desired setting within the green section.

Screenshot of console to enter number of processors.

Step 3 - Selecting the ISO

    From the left pane select Storage.
    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...

Screenshot of console to select ISO.

    Navigate to where you the downloaded the ISO.
    Select the ISO and click the Open button.

Screenshot of File Explorer window display ISO file to be selected.

    Click the OK button.

Screenshot of console display ISO file now inserted in the new machine.

    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.

Screenshot of main VirtualBox console displaying new machine ready to Start for first time.
    
Ubuntu will start loading.

Screenshot of Ubuntu beginning to install.

    Select your preferred language and click the Install Ubuntu button.

Screenshot for selecting language in Ubuntu

    Select the keyboard layout and click the Continue button.

Screenshot of Ubuntu for selecting keyboard layout.

    Select your preferred settings for Updates and other software and click the Continue button.

Screenshot of selecting options in Ubuntu for updates and other software.

    With Erase disk and install Ubuntu selected click the Install now button.

Screenshot of Ubuntu installation warning destination disk to be erased.

    Click the Continue button.

Screenshot of Ubuntu final installation warning destination disk to be erased.

    Select your region.

Screenshot in Ubuntu of selecting regional settings.

    Insert details for your name, computer name, username and password.
    Click the Continue button.

Screenshot in Ubuntu of entering credentials.

    Ubuntu will begin the installation process.


    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.

Screenshot of main VirtualBox console displaying where to check for removing ISO.

    Select your name to sign in.


     Enter you password.
    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.