Installing Ubuntu 22.04 LTS on Windows 11 Using VirtualBox

Installing Ubuntu on a Windows operating system can be a great way to explore Linux without altering your main OS. In this guide, I’ll walk you through the process of installing Ubuntu 22.04 LTS on Oracle VirtualBox on Windows 11. VirtualBox allows you to run multiple operating systems on your host computer, enabling you to use Ubuntu virtually alongside Windows. Let’s get started!

What is VirtualBox?

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. With VirtualBox, you can install and run other operating systems, like Ubuntu, on your Windows host without affecting your existing system. This is particularly useful for testing, development, or simply learning about Linux.

Read More: 3 Methods to Upgrading to Windows 11: A Step-by-Step Guide

Getting Start: Downloading VirtualBox

Before installing Ubuntu, we need to download and install VirtualBox. Here’s how to do it:

  1. Open your favorite web browser and search for “VirtualBox“. You will see a big Download VirtualBox button.
  1. Click on the button or navigate to Downloads and select Windows hosts. This will download an executable (.exe) file.
  1. Once downloaded, run the installer and follow the prompts to complete the installation.

Downloading Ubuntu 22.04 LTS ISO File

Next, we need to download the Ubuntu 22.04 LTS ISO file. This is the file we will use to install Ubuntu in VirtualBox.

  1. Open your web browser and search for Ubuntu, then navigate to Downloads.
  1. Navigate to the downloads section and find the 22.04 LTS version. Make sure to choose the LTS version as it has long-term support.
  1. Click on the green button to download the ISO file.

Setting Up the Virtual Machine (Ubuntu 22.04) in VirtualBox

Once you have VirtualBox installed and the Ubuntu ISO file downloaded, it’s time to set up your virtual machine:

  1. Open VirtualBox and click on the “New” button to create a new virtual machine.
  1. Give your virtual machine a name like “Ubuntu 22.04”. VirtualBox will automatically detect the type as “Linux” and version as “Ubuntu (64-bit)”.
  1. Select the memory size. It’s recommended to move the slider to the end of the green mark, which is typically around 4 GB for Ubuntu.
  1. Choose to create a new virtual hard disk now and click Create.
  1. Leave the hard disk file type as VDI and click Next.
  1. Select Dynamically allocated for the storage type and click Next.
  1. Allocate around 100 GB for your virtual hard disk and click Create.

Configuring the Virtual Machine

Now that you have created the virtual machine, you need to configure it before starting:

  1. Select your newly created virtual machine and click on “Settings”.
  1. In the General section, go to Advanced and set Shared Clipboard and Drag and Drop to Bi-directional.
  1. In the System section, you can allocate more CPUs if your machine allows it. For example, allocate 4 CPUs.
  1. In the Storage section, click on the empty disk icon, then click on the CD icon to select the Ubuntu ISO file you downloaded earlier.

Installing Ubuntu in VirtualBox

Now that everything is set up, we can start the installation of Ubuntu.

  1. Select your virtual machine and click on Start.
  1. When prompted, select Try or Install Ubuntu and press Enter.
  1. Select your preferred language and click on Install Ubuntu.
  1. Choose your keyboard layout and click Continue.
  1. In the next window, select Normal installation and check the boxes for downloading updates and installing third-party software. Then click Continue.
  1. When you see the option Erase disk and install Ubuntu, don’t worry; this only applies to the virtual hard disk and not your host machine. Click Install Now.
  1. Select your region and click Continue.
  1. Fill in your details, including your name, computer name, and password, then click Continue.
  1. The installation will now proceed. Wait until the progress bar reaches 100%.
  1. Once the installation is complete, click on Restart Now.

When prompted, remove the installation medium and press Enter. Your virtual machine will restart, and you will see the login screen for Ubuntu.

Post-Installation: VirtualBox Guest Additions

After installation, it is important to install VirtualBox Guest Additions to optimize performance and improve usability.

  1. Open the terminal in Ubuntu and run the following command to update the package list:

    sudo apt update
  1. Next, install the required packages:

    sudo apt install -y build-essential linux-headers-$(uname -r)
  1. In VirtualBox, click on Devices and select Insert Guest Additions CD Image.
  1. Open the mounted CD image and run the autorun.sh script to install Guest Additions.
  1. After installation, restart your virtual machine to apply the changes.

Using Ubuntu on VirtualBox

Now you can use Ubuntu on your Windows 11 system through VirtualBox. You should notice improved performance and functionality due to the Guest Additions installation, including the ability to resize the window and share files between the host and guest OS.

Read More: How to Disable Weather Widget in Windows 11?

To wrap things up

Congratulations! You have successfully installed Ubuntu 22.04 LTS on your Windows 11 operating system using VirtualBox. This setup allows you to explore Ubuntu and its features without affecting your main system. Enjoy your journey into the world of Linux!

Zarnab Latif

Zarnab Latif is a versatile technical writer with a passion for demystifying the complexities of Artificial Intelligence (AI). She excels at creating clear, concise and user-friendly content that helps developers, engineers, and non-technical stakeholders understand and effectively utilize AI technologies.

Recent Posts

Cloud Cost Optimization: 7 Strategies for Budget-Friendly Cloud Operations in 2025

You’ve probably seen this happen: the monthly cloud bill drops, and it’s way higher than…

2 days ago

BDRSuite v7.6.0 Launches – Advanced Backup Features!

BDRSuite v7.6.0 Now Available! Excited to inform about the general availability of BDRSuite v7.6.0! This…

4 days ago

How to Migrate VMware to Hyper-V with Vinchin Backup & Recovery

VMware is a virtualization software and cloud computing vendor with a long history in the…

5 days ago

Step-by-Step Guide to Migrate from VMware to Proxmox

The internet world constantly changes. In this fast-moving world, companies want to grow better continuously…

1 week ago

How to Convert Virtual Machines from VMware to VirtualBox?

Virtual machines are useful in many ways. You can use them to try out new…

1 week ago

All About IP Addresses: Types, How to Find Yours, and Checking Services

An IP address (Internet Protocol address) is a unique numerical identifier assigned to every device connected to…

1 week ago