How to Install Ubuntu on VirtualBox

This article shows you how to install Ubuntu Linux on your computer using VirtualBox. The VirtualBox program allows you to install additional operating systems without changing the main operating system of your computer.

Download Ubuntu

Picture 1 of How to Install Ubuntu on VirtualBox

Open the Ubuntu site. Visit https://www.ubuntu.com/download/desktop using your computer's web browser. You can download disk image (also known as ISO file) of Ubuntu here.

Picture 2 of How to Install Ubuntu on VirtualBox

Scroll down to the latest Ubuntu version. You'll see this option at the bottom of the page.

Picture 3 of How to Install Ubuntu on VirtualBox

Click Download . It's the green button to the right of the Ubuntu version you selected. This will take you to the support page.

Picture 4 of How to Install Ubuntu on VirtualBox

Scroll down and click Download Now . This is the link in the bottom left corner of the page.

Picture 5 of How to Install Ubuntu on VirtualBox

Make sure Ubuntu is downloaded. The Ubuntu ISO file download usually starts right away, but if it doesn't, you can click the download now link at the top of the page. While waiting to download the Ubuntu ISO, you will have time to set up a virtual machine on VirtualBox.

Create virtual machines

Picture 6 of How to Install Ubuntu on VirtualBox

Install VirtualBox if you haven't done so already. If your Windows or Mac computer doesn't have VirtualBox installed, you'll need to install the program before continuing.

Picture 7 of How to Install Ubuntu on VirtualBox

Open VirtualBox. Double-click (or single-click on Mac) the VirtualBox application icon.

Picture 8 of How to Install Ubuntu on VirtualBox

Click New . It's the blue badge in the upper left corner of the VirtualBox window. A menu will appear here.

Picture 9 of How to Install Ubuntu on VirtualBox

Name the virtual machine. You'll enter any name for the virtual machine (such as Ubuntu) in the "Name" field near the top of the menu that appears.

Picture 10 of How to Install Ubuntu on VirtualBox

Select Linux at the "Type" value. Click the "Type" drop-down box, then click Linux in the list that appears.

Picture 11 of How to Install Ubuntu on VirtualBox

Select Ubuntu for the "Version" value. By default, Ubuntu is usually selected after you select Linux for the "Type" value, but if not, click the "Version" selection box, and select Ubuntu (64-bit) before continuing.

Picture 12 of How to Install Ubuntu on VirtualBox

Click Next . This button appears at the bottom of the menu.

Picture 13 of How to Install Ubuntu on VirtualBox

Select the amount of RAM to use. Click and drag the slider left or right to increase or decrease the amount of RAM that VirtualBox has available for your Ubuntu virtual machine.

The appropriate amount of RAM will be selected automatically when you reach this page.

Make sure you don't increase the amount of RAM up to the red part of the slider; Hold down the slider button in the green section.

Picture 14 of How to Install Ubuntu on VirtualBox

Click Next . This is the button at the bottom of the menu.

Picture 15 of How to Install Ubuntu on VirtualBox

Create a virtual hard drive of a virtual machine. A virtual hard drive is a portion of the computer's hard drive capacity and is used to store virtual machine files and programs:

Click Create _

Click Next

Click Next

Select the capacity to use.

Click Create

Picture 16 of How to Install Ubuntu on VirtualBox

Make sure the Ubuntu file download is complete. Once the Ubuntu ISO file is downloaded, you can continue installing the program on VirtualBox.

Install Ubuntu

Picture 17 of How to Install Ubuntu on VirtualBox

Double-click the name of the virtual machine. It's the option on the left side of the VirtualBox window. A menu will appear here.

Picture 18 of How to Install Ubuntu on VirtualBox

Click the folder icon. This is the icon in the bottom right corner of the menu. The screen immediately displays a new window that allows you to select the Ubuntu ISO file.

Picture 19 of How to Install Ubuntu on VirtualBox

Select the Ubuntu ISO file. Open the folder where the downloaded Ubuntu ISO file is stored (such as Desktop ), then click to select the ISO file.

Picture 20 of How to Install Ubuntu on VirtualBox

Click Open . It's the option in the bottom right corner of the window. The Ubuntu ISO file will be opened in VirtualBox.

Picture 21 of How to Install Ubuntu on VirtualBox

Click Start . This is the option below the menu. Ubuntu will boot now.

Picture 22 of How to Install Ubuntu on VirtualBox

Click Install Ubuntu . This option is on the right side of the VirtualBox window.

Picture 23 of How to Install Ubuntu on VirtualBox

Check both boxes on the "Preparing to install Ubuntu" page. Here's how to ensure everything Ubuntu needs to boot will be installed.

Picture 24 of How to Install Ubuntu on VirtualBox

Click Continue . This option is in the bottom right corner of the page.

Picture 25 of How to Install Ubuntu on VirtualBox

Check the "Erase disk and install Ubuntu" box. This might sound scary, but don't worry - the data on your computer won't be deleted.

Picture 26 of How to Install Ubuntu on VirtualBox

Click Install Now . This is the option in the bottom right corner of the page.

Picture 27 of How to Install Ubuntu on VirtualBox

Click Continue when asked. This confirms that you understand the virtual machine's virtual drive will be "erased" (in truth, no data is saved here) and begins the Ubuntu installation process.

Install Ubuntu

Picture 28 of How to Install Ubuntu on VirtualBox

Select time zone. Click on the section related to your location on the map.

Picture 29 of How to Install Ubuntu on VirtualBox

Click Continue . This is the option in the bottom right corner of the page.

Picture 30 of How to Install Ubuntu on VirtualBox

Turn on the on-screen keyboard. Click the person icon in the upper-right corner of the window, then click the "Screen Keyboard" slider to make the keyboard appear on the screen. Because Ubuntu needs to install drivers to use your keyboard, you cannot use the keyboard until the installation is complete.

Picture 31 of How to Install Ubuntu on VirtualBox

Enter your name. You'll enter your name in the "Your name" field at the top of the window.

Entering a name will also create a computer name for the virtual machine, but you can also create your own name for the computer by entering a name in the "Your computer's name" box.

Picture 32 of How to Install Ubuntu on VirtualBox

Enter username. Enter the username you want to use in the "Pick a username" field.

Picture 33 of How to Install Ubuntu on VirtualBox

Create a password. Enter your preferred password in the "Choose a password" field, then re-enter your password in the "Confirm your password" field.

Picture 34 of How to Install Ubuntu on VirtualBox

Click Continue . This is the button at the bottom of the page.

You can first select the sign-in option below the "Confirm your password" field if necessary.

Picture 35 of How to Install Ubuntu on VirtualBox

Wait for the Ubuntu installation to complete. This process can take from a few minutes to half an hour depending on the speed of your computer.

You don't need to do anything during the installation process.

Picture 36 of How to Install Ubuntu on VirtualBox

Restart the virtual machine. When you see the Restart Now button , do the following: click the Exit button in the upper-right corner of the window (on Windows) or in the upper-left corner of the window (on Mac), Check the "Power off the machine" box, click OK , and double-click the name of the virtual machine.

Picture 37 of How to Install Ubuntu on VirtualBox

Log in to your computer. When the Ubuntu virtual machine restarts, you'll select your name, enter your password, and click Sign In . The Ubuntu program will load your computer screen as if you were using another computer.

Update 26 October 2023
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile