How to install Ubuntu on VirtualBox

Last updated on April 18th, 2017 at 11:25 pm

Linux was once the operating system used only by computer specialist, but as time passes, and even those operating systems could be difficult to use for a user with poor knowledge, now are available to everyone. Ubuntu is one of the most downloaded Linux distribution, this because is, easy to use, and very intuitive graphical interface.

We begin now to test your favorite distribution.

1. Download

The first thing is to download latest distribution.

Go to Ubuntu official web site in download section, the latest version available at the time that will be displayed is the 10.04.2 LTS (LTS with long-term support, 5 years)

download Ubuntu

2. Create a new virtual machine

Downloaded the Ubuntu image file, need to create a virtual disk to run the image.

  • Open VirtualBox
  • Select New
  • Choice your preferite name for this new image
  • Select “Type” Linux
  • Select the type of architecture to use 32 or 64bit. (If the 64-bit architectures do not appear, read here how to activate)

setup new virtual machine

 

3. Choose the amount of RAM memory

The choice of memory to allocate to the virtual machine, may varies depending on the performance of each individual computer, if the PC you are using has a lot of RAM can be assigned to virtual machines also 4/8 GB of memory, in any case it is not recommended more than half the physical memory installed on your computer.

4. Disk image type

If this is your first virtual machine that you are creating leave the default options and continue.

  • Hard disk: Create a virtual hard disk immediately
  • Type of file: VDI (VirtualBox Image)
  • Disk storage: Allocated dynamically, if we want VirtualBox manages the space to be assigned to the virtual disk, otherwise you can define the specific dimensions.

If you choose to allocate space dynamically, specify what should be the maximum file size.
If you need to test operating systems, without the burden of installing a huge number of applications, the value may be low.

disk image type

 

 

If you instead prefear assign a very large data space, in the next screen you can enter the desired maximum.
file system weight

Proceed to create the disk.

After a few minutes, the virtual machine is ready for use.
virtual machine is ready to use

 

At this stage it is only created the virtual machine, without any operating system.

Now we have to install our Linux distribution.

Install Ubuntu

With the virtual machine ready, click the green arrow in the upper bar Start. At this point VM will notice that there is no operating system installed, and will give us the opportunity to choose to upload an image (ISO).

scegli il tipo di installazione

 

 

Choose the file you downloaded earlier and proceed with Start.

Installation Type

Within a few seconds the installation will start, and the welcome message will be prompted to select your preferred language, and the type of installation to be performed.

Since you are installing the new operating system on a virtual machine, click on Install Ubuntu.
select your language

 

 

Updates

The next step is to choose whether or not to download updates during the installation time.

If you have an internet connection, you should enable both options, as it will save time to update the system once the installation is finished.
enable updates

 

Going forward you have to choose how you want to manage the Ubuntu partition.

Partition

how to partion disk

 

  • Using full disk, and install Ubuntu, this option is the most simple, install the operating system using all the available disk space, in this case, all data will be erased.
  • Digit installing Ubuntu, in this case the entire partition is encrypted, this choice makes your data secure, with the only disadvantage that the system startup will be slow.
  • For advanced users the ability to split your disk into several partitions.

Select the first option and proceed with Install.

Timezone e keybord layout

next step, choice the desired time zone, and go, same thing for keyboard.

Login credentials

Last essential step is the choice of credentials, set access according to your preferences, remember to write down your new username and password.
sets credentials

 

Install

Now wait until progress bar end.

The Ubuntu installer will do all the work for us and if there were no errors, the installation is completeted.

installation completed

 

 

Click restart and shut down the virtual machine, on the next reboot, your new Linux system is ready.
benvenuto in Ubuntu

 

 

Approfondimenti e link utili

WikiRails Team

Staff WikiRails