How to Install Ubuntu 22.04 on Virtual Box

How to Install Ubuntu 22.04 on Virtual Box


A virtual box is a software or environment that allows you to install an operating system on the virtual hard disk which provides the same functionality as physical hardware. For example, you can run Linux and Windows operating systems on your mac and Windows and mac operating system on your Linux operating system with the help of a virtual box. In simple words, you can run multiple OS on a single physical device.

In this article, I will provide you with different steps to install the Ubuntu 22.04 server in a virtual box.

Recommended System Requirements

The following prerequisites must be met before downloading and installing Ubuntu on Windows 10 using VirtualBox.

  • Minimum 2 GB system memory
  • Minimum 40 GB of free hard drive space
  • Minimum 2 GHz dual-core processor
  • Reliable internet connection to download virtual box and ubuntu 22.04 server iso file

Download the ubuntu Image

Downloading an ubuntu 22.04 server from official site of ubuntu (https://cdimage.ubuntu.com/daily-live/current/ )

Your program should prompt you to save the record. Select Save File and snap-on

Creating a virtual machine on a virtual box

After downloading the iso image of ubuntu 22.04, open the virtual box. Click new to create a virtual machine. Fill in the following information and click on next.

  • Name: Name of your os
  • Machine folder: This is where you stored your virtual machine
  • Type: Linux
  • Version: Ubuntu (64-bit)

And then select an amount of RAM to use. On the following screen, you will actually want to choose how much RAM from your fundamental PC the virtual machine will get to. For my situation, I have 8GB of actual RAM. I like to distribute however much as could reasonably be expected for Ubuntu yet leave some for my fundamental machine. I picked 4096MB for my Ubuntu server.

Create your virtual machine’s virtual hard drive. The virtual hard drive is a part of your PC’s hard drive space which will be utilised to store your virtual machine’s files. Accept the default setting of ‘Create a virtual hard drive now and press the ‘Create’ button.

Click the ‘Next’ button to accept the default ‘VDI’ drive file type.

To improve performance, change the storage type from ‘Dynamically allocated’ to ‘Fixed size.’

After that, you may choose how much space your virtual machine will take up on your hard drive.

After clicking on create button, virtual machine is initialized

In the optical drive you can browse the downloaded iso file.

Now you can start a virtual machine

Ubuntu will prompt you with a series of questions. Click the ‘Continue’ button if the default settings are OK.

Select “Erase disk and install Ubuntu” in the “Erase disk and install Ubuntu” drop-down menu. This may seem alarming, but rest assured that nothing on your computer will be lost.

In the ‘Who are you?’ discourse, enter your name, username, and secret phrase. Note that this client will have root/sudo honor. Click the ‘continue’ button.

The Ubuntu Desktop OS is prepared. You might observe the work area screen is excessively little. Sit back and relax. You can address this effectively with the “VirtualBox Guest Additions” settings.

The installation procedure is now complete. You may now use Ubuntu alongsidewithout having to create a dual boot system.


This article gives you an idea on Step by step installation of the Ubuntu 22.04 server in a virtual box. Thank you reading.

Similar Posts