Hello Sunil
How to Install Ubuntu on VirtualBox

How to Install Ubuntu on VirtualBox [Step by Step Guide]

There are several ways to install Ubuntu. You can clean everything from your system and install Ubuntu. You can dual boot Ubuntu with Windows 10 and choose one of the operating systems at the boot time.

You can even install Ubuntu within Windows 10 from Microsoft Store (though this only provides you with the command line version of Ubuntu).

Also Read: How to Install and use WSL on Windows 10

But if you want to use Ubuntu without making any changes to your Windows 10 system, you can go the virtual machine route. Basically, you install and use Ubuntu like any regular Windows application.

When you just want to try Ubuntu for limited use, virtual machines provide the most comfortable option.

In this tutorial, we will show you how to install Ubuntu inside Windows 10 using VirtualBox.

What is VirtualBox?

Oracle VM VirtualBox is a cross-platform virtualization application developed by the Oracle Corporation. It allows users to install operating systems on virtual hard disks such as Windows, macOS, and Linux.

As an example, you can run Windows and Linux on your Mac, run Windows server on your Linux server, or run Linux on your Windows 10 PC.

System configuration of the host machine

In order to install Ubuntu on VirtualBox, you should have a physical computer with at least 4 GB – 8 GB of RAM, a hard disk drive with at least 30 GB of free space.

Your CPU must support Intel VT-x or AMD-v hardware virtualization features which must also be enabled in UEFI/BIOS.

The steps to install Ubuntu inside Windows 10 using VirtualBox are as follows:

Creating a new virtual machine

Step 1: Go to the website of Oracle VirtualBox and get the latest stable version and install it.

Step 2: Next, you need to download Ubuntu ISO file from their official website.

How to Install Ubuntu on VirtualBox - download Ubuntu ISO file -img 2

You have installed VirtualBox and downloaded the ISO for Ubuntu. You are now set to install Ubuntu in VirtualBox.

Step 3: Double-click on the VirtualBox app icon to run and click New. It’s a blue badge in the upper-left corner of the VirtualBox window.

How to Install Ubuntu on VirtualBox - click new blue badge -img 3

Step 4: Doing so opens a pop-up menu. Enter Ubuntu as the name, select Linux as the type, and select Ubuntu (64-bit) as the version. Then click Next button.

How to Install Ubuntu on VirtualBox - Enter Ubuntu as the name - img 4

Step 5: Allocate RAM for your Ubuntu virtual machine. Our system has 8GB of RAM and we decided to allocate 2GB of it.

Select any amount of memory you wish, but don’t add more than 50% of your total RAM.

How to Install Ubuntu on VirtualBox - Select an amount of RAM to use - img 5

Click Next button.

Step 6: Create a virtual disk. This serves as the hard disk for your Ubuntu virtual machine. It is where the virtual system will store its files.

Sunil Pradhan

Hi there 👋 My name is Sunil and I'm a front-end developer who loves to help others by simplifying web-dev related topics.

Add comment

Stay Updated

Want to be notified when our article is published? Enter your email address below to be the first to know.

Sunil Pradhan

Hi there 👋 My name is Sunil and I'm a front-end developer who loves to help others by simplifying web-dev related topics.