Line
Skip to main content
< All Topics
Print

How to run an Ubuntu Desktop virtual machine using VirtualBox 7

1. Download an Ubuntu Images

 

Download and install VirtualBox

 

2. Create a new virtual machine

Click New to create a new virtual machine. Fill in the appropriate details:

  • Name: If you include the word Ubuntu in your name the Type and Version will auto-update.
  • Machine Folder: This is where your virtual machines will be stored so you can resume working on them whenever you like.
  • ISO Image: Here you need to add a link to the ISO you downloaded from the Ubuntu website.

We want to install Ubuntu unattended so we can leave the checkbox to skip unchecked.

 

Create a user profile

The default credentials are:

  • Username: vboxuser
  • Password: changeme

 

Define the Virtual Machine’s resources

For optimal performance, allocate around 8GB of RAM (4GB is also usable) and 4 CPUs to your VM. Stay within the green areas on the sliders to avoid issues with your host machine running both the VM and the host OS.

 

Specify the hard disk size for the virtual machine. For Ubuntu, we recommend a minimum of 25 GB. By default, the disk scales dynamically up to the defined limit. To pre-allocate the full size for better performance, check the ‘Pre-allocate Full Size’ box, but this may use extra space.

 

Click Next to continue and view a summary of your machine setting.

After this click Finish to initialize the machine!

3. Install your image

Click Start to launch the virtual machine.

Finally, you will be greeted with the Ubuntu log-in screen where you can enter your username and password defined during the initial setup (don’t forget that the default password is ‘changeme’ if you left everything as the default).

 

4. Explore Virtual Box

 

Enjoy your shiny new Ubuntu Desktop!

 

As always, we recommend opening a terminal and running sudo apt update & sudo apt upgrade -y and then sudo snap refresh to get everything updated to the latest versions.

Once you’ve finished your session you can close your machine by clicking the X in the top right of the window and choosing whether to keep your machine frozen in its current state or shut it down completely.

 

Credit: https://ubuntu.com/

Messenger