How to install Ubuntu in VirtualBox (with pictures)

Table of contents:

How to install Ubuntu in VirtualBox (with pictures)
How to install Ubuntu in VirtualBox (with pictures)
Anonim

This article will show you how to install Ubuntu Linux on your computer in VirtualBox. VirtualBox is a program in which you can install an additional operating system without changing the main system of your computer.

Steps

Part 1 of 4: How to Download Ubuntu

Install Ubuntu on VirtualBox Step 1
Install Ubuntu on VirtualBox Step 1

Step 1. Open the Ubuntu website

Go to https://www.ubuntu.com/download/desktop in your computer's web browser. You can download the Ubuntu disk image (ISO file) here.

Install Ubuntu on VirtualBox Step 2
Install Ubuntu on VirtualBox Step 2

Step 2. Scroll down to the latest version of Ubuntu

You will find it at the bottom of the page.

Install Ubuntu on VirtualBox Step 3
Install Ubuntu on VirtualBox Step 3

Step 3. Click Download

It's a green button to the right of your selected Ubuntu version. A new page will open.

Install Ubuntu on VirtualBox Step 4
Install Ubuntu on VirtualBox Step 4

Step 4. Scroll down and click Not now, take me to the download

This link is in the bottom left corner of the page.

Install Ubuntu on VirtualBox Step 5
Install Ubuntu on VirtualBox Step 5

Step 5. Make sure the ISO file download has started

Otherwise, click on the Download now link at the top of the page. While the ISO file is downloading, create and configure a virtual machine in VirtualBox.

Part 2 of 4: How to create a virtual machine

Install Ubuntu on VirtualBox Step 6
Install Ubuntu on VirtualBox Step 6

Step 1. Install VirtualBox

Do this if your computer (Windows or Mac OS X) does not have this program.

Install Ubuntu on VirtualBox Step 7
Install Ubuntu on VirtualBox Step 7

Step 2. Start VirtualBox

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

Install Ubuntu on VirtualBox Step 8
Install Ubuntu on VirtualBox Step 8

Step 3. Click Create

It's a blue icon in the upper left corner of the VirtualBox window. A pop-up menu will open.

Install Ubuntu on VirtualBox Step 9
Install Ubuntu on VirtualBox Step 9

Step 4. Enter a name for the virtual machine

Enter any name (eg Ubuntu) in the Name text box at the top of the pop-up menu.

Install Ubuntu on VirtualBox Step 10
Install Ubuntu on VirtualBox Step 10

Step 5. Select "Linux" from the "Type" menu

Open this menu and select "Linux".

Install Ubuntu on VirtualBox Step 11
Install Ubuntu on VirtualBox Step 11

Step 6. Select "Ubuntu" from the "Version" menu

In this menu, the "Ubuntu" option should appear by default when you select "Linux" from the "Type" menu; otherwise, open the Version menu and click Ubuntu (64-bit).

Install Ubuntu on VirtualBox Step 12
Install Ubuntu on VirtualBox Step 12

Step 7. Click Next

This button is at the bottom of the menu.

Install Ubuntu on VirtualBox Step 13
Install Ubuntu on VirtualBox Step 13

Step 8. Specify the size of the RAM

Drag the slider left or right to decrease or increase the amount of RAM that will be used by the Ubuntu virtual machine.

  • By default, the optimal amount of RAM will be selected.
  • Don't drag the slider over the red area - make sure the selected value is within the green area.
Install Ubuntu on VirtualBox Step 14
Install Ubuntu on VirtualBox Step 14

Step 9. Click Next

This button is at the bottom of the menu.

Install Ubuntu on VirtualBox Step 15
Install Ubuntu on VirtualBox Step 15

Step 10. Create a virtual hard disk for the virtual machine

A virtual hard disk is a partition on a computer's hard disk that will be used to store files and programs in a virtual machine:

  • click "Create";
  • click "Next";
  • click "Next";
  • specify the capacity of the virtual hard disk;
  • click "Create".
Install Ubuntu on VirtualBox Step 16
Install Ubuntu on VirtualBox Step 16

Step 11. Check if the Ubuntu image has been downloaded

If so, install this system in VirtualBox.

Part 3 of 4: How to Install Ubuntu

Install Ubuntu on VirtualBox Step 17
Install Ubuntu on VirtualBox Step 17

Step 1. Double click on the name of the created virtual machine

It's on the left side of the VirtualBox window. A menu will open.

Install Ubuntu on VirtualBox Step 18
Install Ubuntu on VirtualBox Step 18

Step 2. Click on the folder icon

It's in the lower right side of the menu. A new window will open where you can select the downloaded ISO file.

Install Ubuntu on VirtualBox Step 19
Install Ubuntu on VirtualBox Step 19

Step 3. Select the ISO file

Go to the folder with the downloaded file and click on it.

Install Ubuntu on VirtualBox Step 20
Install Ubuntu on VirtualBox Step 20

Step 4. Click Open

It's in the lower-right corner of the window. The ISO file will open in VirtualBox.

Install Ubuntu on VirtualBox Step 21
Install Ubuntu on VirtualBox Step 21

Step 5. Click Run

It's near the bottom of the menu. The Ubuntu installer will launch.

Install Ubuntu on VirtualBox Step 22
Install Ubuntu on VirtualBox Step 22

Step 6. Click Install Ubuntu

It's on the right side of the VirtualBox window.

Install Ubuntu on VirtualBox Step 23
Install Ubuntu on VirtualBox Step 23

Step 7. Check the boxes for both options in the Prepare to Install Ubuntu window

This will install the full version of Ubuntu.

Install Ubuntu on VirtualBox Step 24
Install Ubuntu on VirtualBox Step 24

Step 8. Click Continue

It's in the bottom-right corner of the page.

Install Ubuntu on VirtualBox Step 25
Install Ubuntu on VirtualBox Step 25

Step 9. Check the box next to the "Erase disk and install Ubuntu" option

Don't worry - the information stored on your computer's hard drive will not be damaged.

Install Ubuntu on VirtualBox Step 26
Install Ubuntu on VirtualBox Step 26

Step 10. Click Install

It's in the lower-right corner of the page.

Install Ubuntu on VirtualBox Step 27
Install Ubuntu on VirtualBox Step 27

Step 11. Click Continue when prompted

This will confirm that the virtual disk will be cleaned up (there is nothing on it anyway); The Ubuntu installation process starts.

Part 4 of 4: How to set up Ubuntu

Install Ubuntu on VirtualBox Step 28
Install Ubuntu on VirtualBox Step 28

Step 1. Select your time zone

On the map, click on the time zone in which you are located.

Install Ubuntu on VirtualBox Step 29
Install Ubuntu on VirtualBox Step 29

Step 2. Click Continue

It's in the bottom-right corner of the page.

Install Ubuntu on VirtualBox Step 30
Install Ubuntu on VirtualBox Step 30

Step 3. Activate the onscreen keyboard

Click the person-shaped icon in the upper-right side of the window, and then click the On-Screen Keyboard switch to open it. You need drivers to use a physical keyboard, so you won't be able to use it until you've configured Ubuntu.

Install Ubuntu on VirtualBox Step 31
Install Ubuntu on VirtualBox Step 31

Step 4. Enter your name

Do this in the Name text box at the top of the window.

When you enter a name, a computer name in the virtual machine will be automatically created; if you want to change the computer name, enter it in the Computer Name field

Install Ubuntu on VirtualBox Step 32
Install Ubuntu on VirtualBox Step 32

Step 5. Enter your username

Do this in the "Username" text box.

Install Ubuntu on VirtualBox Step 33
Install Ubuntu on VirtualBox Step 33

Step 6. Create a password

Enter your password in the Password text box, and then enter it again in the Confirm Password text box.

Install Ubuntu on VirtualBox Step 34
Install Ubuntu on VirtualBox Step 34

Step 7. Click Continue

This button is at the bottom of the page.

If necessary, change your login settings below the Confirm Password text box

Install Ubuntu on VirtualBox Step 35
Install Ubuntu on VirtualBox Step 35

Step 8. Wait for the Ubuntu installation to complete

This will take from a few minutes to half an hour, depending on the speed of the computer.

The whole process will take place automatically, that is, your participation is not required

Install Ubuntu on VirtualBox Step 36
Install Ubuntu on VirtualBox Step 36

Step 9. Restart the virtual machine

When the "Restart Now" button appears on the screen, do the following: click "Exit" in the upper right (Windows) or upper left (Mac) corner of the window, check the box next to "Turn off the machine", click "OK", and then double-click by the name of the virtual machine.

Install Ubuntu on VirtualBox Step 37
Install Ubuntu on VirtualBox Step 37

Step 10. Log in to the virtual system

When the virtual machine starts, choose your name, enter your password and click Login. Ubuntu will run in a virtual machine, but you can work with this system like a regular (non-virtual) system.

Advice

You can install programs on a virtual system, but remember that the capacity of a virtual hard disk is limited

Warnings

  • The virtual system will not run very fast, but that's okay, because you are actually running two operating systems on the same computer.
  • Make sure the physical hard disk has enough space to create the virtual hard disk. For example, if VirtualBox prompts you to create an 8 GB virtual hard disk, make sure the free space on the physical hard disk is greater than 8 GB.

Popular by topic