Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Linux » How to install and configure Ubuntu Linux on VirtualBox
  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • Slide1 1
    Enable or disable Secure Boot in Windows via UEFI Firmware Settings Windows
  • Feature image Audio settings
    Master Your Sound Experience: How to Manage Audio Settings on Windows 11 Windows
  • Featured image Excel crash 1
    How to Fix Microsoft Excel Crash Issues Network | Monitoring
  • How to stay protected on Windows 10 and11 device with Windows Security
    Stay protected on Windows device with Windows Security Security | Vulnerability Scans and Assessment
  • vmca course
    Veeam Certified Architect: VMCA Training & Certification Review Backup
  • system
    How to fix the system cannot find the file specified when adding LP, LIP, and FoD packages to Windows Images Windows Server
  • MBAM roles
    Understanding Microsoft BitLocker Administration and Monitoring Roles Windows

How to install and configure Ubuntu Linux on VirtualBox

Posted on 26/04/202001/10/2024 Christian By Christian 1 Comment on How to install and configure Ubuntu Linux on VirtualBox
How to install and configure Ubuntu Linux on VirtualBox

Oracle VirtualBox is a cross-platform virtualization application. It installs on your existing Intel or AMD-based computers, whether they are running Windows, Mac, and Linux operating systems. VirtualBox is a software virtualization package that you can install on your operating system. In this article, we will discuss How to install and configure Ubuntu Linux on VirtualBox. Please see How to install Windows Server 2022 on VirtualBox, and How to install Oracle VirtualBox on a Mac device.

In VirtualBox terminology, the operating system on which VirtualBox is installed is referred to as the host. The operating system you install and configure Ubuntu Linux on VirtualBox (virtual machine) is called the guest.

Here is how to install Windows Server 2019 on VirtualBox. See the following guides on how to perform Post OS Installation configuration of Windows Server 2019 Properties, how to install Windows Server 2016 Operating System, Windows Server 2019 on a VMware Workstation, and how to install and configure Ubuntu Linux.

To install Ubuntu Server 20.04 on a VirtualBox virtual machine, follow the detailed steps below. These steps ensure VirtualBox is already installed.

Step 1 – Create a Virtual Machine

Launch VirtualBox and click on “New”.

Note: On a macOS, you can click on machine and select “New”

Create a new Virtual machine

Next, enter a name you wish to save your virtual machine. Enter the desired name for your virtual machine in the “Name” field as shown below.

Here you can also select a location for your virtual machine.

  • OS type “Linux” as shown below and
  • The Version of Linux (In my case, it is Ubuntu (64-bit)).

Select an amount of RAM

Assign memory to your virtual machine. I will select 2048 MB

Select a RAM size for your virtual machine

You can increate the memory with the slider or by typing the values.

Create your virtual machine’s virtual hard drive

The virtual hard drive is a section of your computer’s hard drive space which will be used to store your virtual machine’s files etc.

Create a virtual hard disk

This will open the Hard disk type window. I will be selecting VDI (VirtualBox Disk Image) as shown below. For the differences, take a look on how to install VirtualBox and Guest Integration.

Select virtualBox Disk Image (VDI)

You can choose either the “Dynamically allocated” or the “Fixed size” option for creating the virtual hard disk. I will be choosing the “Dynamically allocated” as shown below. For the difference, Please see the screenshot.

Click on Dynamically Allocated

Enter the desired file location and size of the VDI. You can use the slider or type the size into the field as shown below.

Click on create and VirtualBox will generate the “Ubuntu” virtual machine.

Select Location and size of drive and click on create

Here is How to install ESXi on VirtualBox, and “How to fix Failed to open session in VirtualBox to install Windows 11 Image“.

Step 2: Set up Ubuntu on this VM

Now the virtual machine is created. We are ready to install Ubuntu in this virtual machine. It is time to boot that ISO and install Linux as a virtual operating system.

Our Ubuntu virtual machine is turned off

Download the ISO Image

The next steps requires Ubuntu 20.04 to be downloaded. Select your new virtual machine and click the ‘Settings’ button.

  • Click on the “Storage” category and
  • Select “Empty” under Controller:IDE as shown below.
  • Click “CD/DVD” icon on right hand side and
  • Select the ubuntu ISO file to mount.

And click ok after selecting the ISO image you downloaded.

Select the ISO Image and click on OK

Step 3 – Install Ubuntu 20.04

To Install ubuntu, follow the steps below. Click on the new Ubuntu virtual machine. Select the ‘Start’ button.

Click on the new Ubuntu virtual machine and click on start

This will perform so launch the Ubuntu machine in order to continue with the installation.

Ubuntu installation has started

Select your desired language and click on Install Ubuntu as shown below.

Select language and click on install Ubuntu

Select your desired Keyboard layout. I will be selecting German

Select language and continue

Select Normal Installation as shown below.

If you would like to install Minimal Installation (This will have just the basic utilities and web browser).

Select Normal installation and continue

Click on Install now. See the figure below for this.

Select Erase disk and Install Ubuntu
Select Erase disk and Install Ubuntu

When a new window is prompted click on continue to write changes to disks.

Click on Continue
Click on Continue

Click continue under where are you. I am ok with Berlin 😉

Select region and click on continue

Setup an Account

Enter your relevant account information as shown below. The computer’s name and username will automatically be populated.

Enter relevant account details and click on continue

Note: This user will have root/sudo privilege. Click ‘Continue’ button.

The installation process will continue as shown below.

Ubuntu is curently installing

After installation is complete, click the ‘Restart Now’ button as shown below.

Restart you PC to use the new installation

When you see a screen with a black background saying ‘Please remove installation media and close the tray (if any) then press any key or ENTER on your keyboard. When this process is completed, the following window will be displayed.

Click on your username and this will prompt you to enter your username.

enter your password

The Ubuntu Desktop OS is ready. As you can see, the desktop screen is too small. To fix this the “VirtualBox Guest Additions” need to be installed.

You may be required to connect your online account. Skip it and keep clicking on next and finally select done.

Click on Skip
Click on Skip
Select Done
Select Done

If you get a notification to install updates as shown below, PLEASE install the updates immediately.

Install Update

Now you can start using your Linux device from henceforth.

That’s how you can install and configure Ubuntu Linux on VirtualBox. I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Ubuntu, VirtualBox, virtualization

Post navigation

Previous Post: Windows Subsystem for Linux: How to install WSL on Windows 10
Next Post: Ubuntu Linux post installation of Network Properties, Guest Integration and Web Administration using Cockpit

Related Posts

  • greywireshark
    How to install WireShark on a Linux Ubuntu System Linux
  • Screenshot 2020 05 14 at 19.28.50
    How to install and configure Rancid Linux
  • Generate SSH Keys
    Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
  • zabbix
    Monitoring services using Zabbix Linux
  • Slide4
    How to install Let’s Encrypt on Apache Web Server Linux
  • goland
    How to install Golang on a Linux System Linux

More Related Articles

greywireshark How to install WireShark on a Linux Ubuntu System Linux
Screenshot 2020 05 14 at 19.28.50 How to install and configure Rancid Linux
Generate SSH Keys Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
zabbix Monitoring services using Zabbix Linux
Slide4 How to install Let’s Encrypt on Apache Web Server Linux
goland How to install Golang on a Linux System Linux

Comment (1) on “How to install and configure Ubuntu Linux on VirtualBox”

  1. Avatar photo David says:
    03/02/2022 at 3:30 PM

    Seem to be stuck on the install terminal window. Package configuration Configuring Secure Boot, there is a <Ok> at the bottom, but the terminal window isn’t accepting any input.

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • Slide1 1
    Enable or disable Secure Boot in Windows via UEFI Firmware Settings Windows
  • Feature image Audio settings
    Master Your Sound Experience: How to Manage Audio Settings on Windows 11 Windows
  • Featured image Excel crash 1
    How to Fix Microsoft Excel Crash Issues Network | Monitoring
  • How to stay protected on Windows 10 and11 device with Windows Security
    Stay protected on Windows device with Windows Security Security | Vulnerability Scans and Assessment
  • vmca course
    Veeam Certified Architect: VMCA Training & Certification Review Backup
  • system
    How to fix the system cannot find the file specified when adding LP, LIP, and FoD packages to Windows Images Windows Server
  • MBAM roles
    Understanding Microsoft BitLocker Administration and Monitoring Roles Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.