1. Open VirtualBox and select New . A new window will come out.
  2. Choose your guest OS and architecture (32 vs. 64 bit, e.g select Ubuntu)
  3. Set your Base Memory (RAM)
  4. Click next until it show the vm storage size. Put how much space you need depending on your hardisk and finish the wizard by clicking the create button.
  5. On VirtualBox main window, select START and pick your MEDIA SOURCE. In your case, select the .iso on your desktop.
  6. Finish the installation as normal install.
  7. Remove your installation .iso from the virtual optical disk drive before restarting the VM.
  8. Install Guest Additions.

Follow this guide:

Open Virtualbox and click at New button.

Setup Wizard will appear and click at Next button.

Enter your Virtual Machine name, and choose your guest OS and architecture (32- vs. 64-bit) from the dropdown menu and click Next button.

A 64-bit guest needs the CPU virtualization technology (VT-x AMD/V) to be enabled in BIOS.

Enter memory (RAM) to reserve for your virtual machine and click Next button.

Leave enough memory to the host OS.

Tick at Startup Disk and Create New Hard disk and click at Next button.

Choose the type of file that you want to use for virtual disk and click Next button.

Choose your storage detail and click Next button.

Enter the size of your virtual disk (in MB) and click Next button.

A dynamically growing virtual disk will only use the amount of physical hard drive space it needs. It is better to be rather generous to avoid running out of guest hard drive space.

You will see the detail of your input here. Click Create button to continue.

The "New Virtual Machine Wizard" will close and back to VirtualBox Manager. Select your Virtual Machine and click Start button.

"First Run Wizard" will appear and click Next button.

Click at 'folder' icon and choose your Ubuntu iso directory.

Select your Ubuntu iso file and click Next button.

In 'Summary' box, click Start button.

This screen will appear when it start boot.

After a successful installation we have to remove our installation .iso image from the virtual optical drive before we reboot. This can be done from the "Devices" menu or by removing the .iso from the VM settings:

For smooth graphics, and to be able to use shared folders it is recommended to install the guest additions.

Answer from penreturns on askubuntu.com
🌐
Ubuntu
ubuntu.com › tutorials › how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox
How to run an Ubuntu Desktop virtual machine using VirtualBox 7 | Ubuntu
It is also recommended to check the Guest Additions box to install the default Guest Additions ISO that is downloaded as part of VirtualBox. Guest additions enables a number of quality of life features such as changing resolution and dynamic screen resizing so it is highly recommended! Note: If you choose not to use unattended install then this step will be skipped and you will go straight to the following screen. Once your machine has been created you will be able to create a username and password by proceeding through the standard Ubuntu Desktop installation flow on first boot.
Top answer
1 of 6
134
  1. Open VirtualBox and select New . A new window will come out.
  2. Choose your guest OS and architecture (32 vs. 64 bit, e.g select Ubuntu)
  3. Set your Base Memory (RAM)
  4. Click next until it show the vm storage size. Put how much space you need depending on your hardisk and finish the wizard by clicking the create button.
  5. On VirtualBox main window, select START and pick your MEDIA SOURCE. In your case, select the .iso on your desktop.
  6. Finish the installation as normal install.
  7. Remove your installation .iso from the virtual optical disk drive before restarting the VM.
  8. Install Guest Additions.

Follow this guide:

Open Virtualbox and click at New button.

Setup Wizard will appear and click at Next button.

Enter your Virtual Machine name, and choose your guest OS and architecture (32- vs. 64-bit) from the dropdown menu and click Next button.

A 64-bit guest needs the CPU virtualization technology (VT-x AMD/V) to be enabled in BIOS.

Enter memory (RAM) to reserve for your virtual machine and click Next button.

Leave enough memory to the host OS.

Tick at Startup Disk and Create New Hard disk and click at Next button.

Choose the type of file that you want to use for virtual disk and click Next button.

Choose your storage detail and click Next button.

Enter the size of your virtual disk (in MB) and click Next button.

A dynamically growing virtual disk will only use the amount of physical hard drive space it needs. It is better to be rather generous to avoid running out of guest hard drive space.

You will see the detail of your input here. Click Create button to continue.

The "New Virtual Machine Wizard" will close and back to VirtualBox Manager. Select your Virtual Machine and click Start button.

"First Run Wizard" will appear and click Next button.

Click at 'folder' icon and choose your Ubuntu iso directory.

Select your Ubuntu iso file and click Next button.

In 'Summary' box, click Start button.

This screen will appear when it start boot.

After a successful installation we have to remove our installation .iso image from the virtual optical drive before we reboot. This can be done from the "Devices" menu or by removing the .iso from the VM settings:

For smooth graphics, and to be able to use shared folders it is recommended to install the guest additions.

2 of 6
11

Installing Ubuntu under virtual box

  1. open virtualbox
  2. than click New
  3. then click Next
  4. Set name something like Ubuntu 12.04 (it will automaticly set type to linux)
  5. Set memory f.e. 1024 MB
  6. Select Create new hard disk
  7. Select VDI then Next
  8. Select Dynamically allocated then Next
  9. Set location(let it stay its default) and its size (f.e 20GB) then Next
  10. Then Create
  11. Then again Create
  12. Here is two ways
    • Install from .iso
    • Install from DVD
  13. Start VM
  14. There select what kind of installation you want(from iso or from dvd)
  15. then the installation will start
Discussions

I made a clean, beginner-friendly guide for installing Ubuntu in VirtualBox (2026 edition)
Nice but I don’t think anyone reads guides anymore. More on reddit.com
🌐 r/homelab
3
0
April 30, 2026
How do I install virtualbox?
If you are using Linux Mint, you can install VirtualBox by running the following command in the terminal: sudo apt install virtualbox-qt This will install the VirtualBox application along with its graphical user interface. More on reddit.com
🌐 r/Ubuntu
17
3
December 12, 2020
Virtualbox on Ubuntu 24.04 - Guest Additions
I have a clean install of 24.04. Virtualbox installed from official repository without a hitch (NB “skip unattended”!). Guest additions iso on host /usr/share/virtualbox (also from official repository) Guest: Ubuntu 22.04 (minimal installation) and downloaded updates. More on itsfoss.community
🌐 itsfoss.community
19
0
May 1, 2024
Looking for a tutorial for installing Ubuntu on Virtualbox

Google turns up tons of stuff on this topic. For example -

https://itsfoss.com/install-linux-in-virtualbox/

https://www.freecodecamp.org/news/how-to-install-ubuntu-with-oracle-virtualbox/

https://brb.nci.nih.gov/seqtools/installUbuntu.html

I'd suggest reading several of these until you get comfortable with the stated steps, before starting any installation.

More on reddit.com
🌐 r/virtualbox
1
2
June 6, 2020
🌐
Oracle VirtualBox
virtualbox.org › wiki › Linux_Downloads
Linux_Downloads – Oracle VirtualBox
Add the following line to your /etc/apt/sources.list. For Debian 13 and older, replace '<mydist>' with 'trixie', 'bookworm', or 'bullseye'. For Ubuntu 24.10 and older, 'replace '<mydist>' with 'oracular', 'noble', or 'jammy'.
🌐
NCI
brb.nci.nih.gov › seqtools › installUbuntu.html
Install Ubuntu on Oracle VirtualBox
Back to Oracle VM VirtualBox Manager, click on the new Ubuntu virtual machine and hit 'Start' button. Now you shall see a 'Welcome' screen. Click 'Install Ubuntu' button. Note that the installation process may differ a little bit from version to version.
🌐
Geoffrey
geoffrey.run › computing › running-ubuntu-in-virtualbox
Notes on Successfully Running Ubuntu in VirtualBox
How to Install: Navigate to the VirtualBox downloads page and download the appropriate expansion pack for your version of VirtualBox. Once downloaded, go to File > Preferences > Extensions in VirtualBox and add the downloaded expansion pack. Begin by downloading the latest Ubuntu Desktop ISO ...
🌐
Reddit
reddit.com › r/ubuntu › i made a clean, beginner-friendly guide for installing ubuntu in virtualbox (2026 edition)
r/Ubuntu on Reddit: I made a clean, beginner-friendly guide for installing Ubuntu in VirtualBox (2026 edition)
April 30, 2026 - Just published a step by step tutorial on Ubuntu in VirtualBox guide. No fluff, no jargon, just a clean walkthrough that anyone can follow. ... If you're starting a homelab or teaching someone Linux basics, this might help: https://youtu.be/Hm87A8R3hlU?si=8cDRMvs_wUoxZn-B · Happy to answer any questions or help troubleshoot setups. I also welcome all feedback. ... Nobody's responded to this post yet. Add your thoughts and get the conversation going. How to Download Install and Run Ubuntu Linux on VirtualBox | Step By Ste...
Find elsewhere
Top answer
1 of 1
6

Following is the step-by-step guide for you to install Ubuntu on VirtualBox on Mac OSX:

  1. At first open your VirtualBox app. When VirtualBox opens, click the New button.

  1. Give your “virtual machine” a name (something descriptive is good, but it doesn’t matter). Make sure the Type: is set to Linux and the Version: is Ubuntu (64 bit). Then click the Continue button.

  1. Now you’re going to decide how much memory (RAM) you’re going to allocate to Ubuntu when it’s running, and how much to leave for OS X. As illustrated in the screenshot below, my total RAM is 4GB, so I allocated half of it to Ubuntu, and the other half to OS X. The more memory you give to Ubuntu, the faster it will run. The drawback is that OS X will have less to use while Ubuntu is running. At a minimum, give Ubuntu at 1GB (1024MB) of RAM. When you’ve decided how much memory (RAM) to give Ubuntu, click the Continue button.

  1. On the Hard drive screen, select Create a virtual hard drive now and then click Create.

  1. Now select VDI (VirtualBox Disk Image) and click Continue

  1. Select Dynamically allocated and yep – you guessed it – click Continue

  1. Give the “VirtualBox Disk Image” a name (again, doesn’t really matter, but descriptive is always helpful). Use the “slider” to determine the size you want to make the “hard drive” for Ubuntu. At a minimum, you’ll want to select 6GB – and that will not allow for you to install many programs, let alone store files etc. Keep in mind that because you selected “Dynamically allocated” in the previous step, that does not mean that VirtualBox is going to take up that space right away. It means that as Ubuntu needs more space, it will allow the “hard drive” to increase up to whatever size you set at this step. As illustrated in the screenshot below, I opted to give Ubuntu 8GB. That’s enough for the installation and to install quite a few programs. If you have a big hard drive, you might as well allocate more rather than less, again – the space won’t be used until it’s needed. After you’ve made your selection, click Create.

  1. Almost time to install Ubuntu! Click the Start button.

  1. Right away you’ll be prompted to locate a file. Click the “folder” icon next to menu that says Empty (see screenshot below).

  1. Navigate to the Ubuntu .iso file that you downloaded. Select it, and click Open

  1. Now click Start

  1. As Ubuntu boots for the very first time, VirtualBox will ‘pop up’ little messages explaining how the keyboard and mouse will work with your new ‘virtual machine’. Read them, then click the little X to close them.

  1. Finally! Click Install Ubuntu

  1. Ubuntu will run a quick test to ensure your computer is capable of running on it. Once it’s passed those tests, make sure to place a check in both of the boxes – Download updates while installing and Install this third-party software – then click the Continue button.

  1. Select Erase disk and install Ubuntu. NOTE: this is not going to ‘wipe out’ or erase any data in OS X. None. It is safe to click Install Now, so do just that.

  1. Click Continue

  1. When prompted, select your Time Zone and then click Continue

  1. Select the keyboard layout and language you want, then Continue

  1. Fill in each field with the required information. When you’re done, Continue

  1. Now it’s time to sit back and relax with that cup of coffee or tea. This may take a bit.

  1. Yay! It’s done! Click Restart Now

  1. If Ubuntu doesn’t start loading, and you’re left at a screen with what looks a bit like gibberish, have no fear. Click the OS X “Close” button (the red one in the upper left corner).

  1. Select Power off the machine and click OK. You’ll be left back at the main VirtualBox window. Just click the Start button again.

  1. And you’ll boot into Ubuntu! Enter your password when prompted.

  1. Welcome to the Ubuntu Desktop! At this point you should be connected to the Internet and completely ready to go – have fun!

🌐
Ubuntu
ubuntu.com › download › desktop
Download Ubuntu Desktop | Ubuntu
May 5, 2026 - Follow this tutorial to install Ubuntu Desktop on your laptop or PC. You can also run Ubuntu from a USB to try it without installing. Run Ubuntu Desktop using VirtualBox.
🌐
Instructables
instructables.com › design › software
How to Create an Ubuntu Virtual Machine With VirtualBox (Mac) : 16 Steps - Instructables
October 12, 2017 - How to Create an Ubuntu Virtual Machine With VirtualBox (Mac): The following instructions will enable you to create an Ubuntu virtual machine. They have been created specifically for a Mac computer, but are essentially the same for Windows. As you follow the instructions, you will see they have been adapted so …
🌐
Reddit
reddit.com › r/homelab › i made a clean, beginner-friendly guide for installing ubuntu in virtualbox (2026 edition)
r/homelab on Reddit: I made a clean, beginner-friendly guide for installing Ubuntu in VirtualBox (2026 edition)
April 30, 2026 -

Hey there folks,

I've been building a series of simple, down to earth VirtualBox labs for people getting into Linux, homelab and Cybersecurity.

Just published a step by step tutorial on Ubuntu in VirtualBox guide. No fluff, no jargon, just a clean walkthrough that anyone can follow.

It covers:

- VM creation

- ISO setup

- Guest Additions

- Best practices (snapshots+; system updates)

If you're starting a homelab or teaching someone Linux basics, this might help: https://youtu.be/Hm87A8R3hlU?si=8cDRMvs_wUoxZn-B

Happy to answer any questions or help troubleshoot setups. I also welcome all feedback.

Cheers 🥂

🌐
OneUptime
oneuptime.com › home › blog › how to install virtualbox on ubuntu
How to Install VirtualBox on Ubuntu
January 15, 2026 - It's popular for development, testing, and running different operating systems alongside your main OS. ... # Install from Ubuntu repos sudo apt update sudo apt install virtualbox -y # Verify installation vboxmanage --version
Top answer
1 of 6
189

Open a terminal and execute:

sudo apt-get install virtualbox 

which should work.

Once you have installed it you probably want to install guest additions in the guest OS.

Also you probably want the extension pack which you can get from here:

https://www.virtualbox.org/wiki/Downloads

Make sure you get the correct version.

As of Xenial 16.04, you can also get the extension pack from the Canonical repositories. Go to the terminal and execute:

sudo apt install virtualbox-ext-pack 

Therefore, as of Xenial 16.04, you should be able to get virtualbox and the extension pack by typing the following:

sudo apt install virtualbox virtualbox-ext-pack 

Following the instructions on your screen.

To install the user interface to manage your virtual boxes use this command

sudo apt install virtualbox-qt
2 of 6
39

If you want to have a latest version of VirtualBox, check this: https://www.virtualbox.org/wiki/Linux_Downloads

Add one of the following lines according to your distribution to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian xenial contrib
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
deb http://download.virtualbox.org/virtualbox/debian precise contrib

Alternatively, you can use add-apt-repository to add to your /etc/apt/sources.list:

sudo apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib"

Add secure key:

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

- or for Debian 8 ("Jessie") / Ubuntu 16.04 ("Xenial") and later:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Install VirtualBox:

sudo apt-get update
sudo apt-get install virtualbox-5.2
🌐
NAKIVO
nakivo.com › linux › how to install ubuntu on virtualbox: detailed overview
How to Install Ubuntu on VirtualBox as a VM: Complete Walkthrough
April 28, 2026 - Your CPU (Central Processor Unit) must support Intel VT-x or AMD-v hardware virtualization features which must also be enabled in UEFI/BIOS. This point is especially important if you are looking for how to install Ubuntu 64-bit on VirtualBox.
🌐
Scribd
scribd.com › doc › 250349176 › How-to-Install-Virtual-Box-in-UBUNTU
Install VirtualBox on Ubuntu Guide | PDF | Computers
To install Virtual Box in Ubuntu, search for and configure VirtualBox and GNOME System Tools in the Ubuntu Software Center. Download the compatible Oracle VM Virtual Box Extension Pack from Oracle's website and install it.
🌐
Reddit
reddit.com › r/ubuntu › how do i install virtualbox?
r/Ubuntu on Reddit: How do I install virtualbox?
December 12, 2020 -

So I have been trying to install virtualbox on my live usb with persistent storage. I have about 100GB so I know that is not the issue, I have followed several youtube video through the process of installing virtualbox, but no matter how hard I try I cannot get virtualbox to ever install. I download the virtualbox software from the website, then I open terminal in downloads, run 'sudo dpkg -i install <name of file>' and then run 'sudo apt-get -f install' but instead of installing dependencies, it just forces me to uninstall the virtualbox installation. The files doesn't dissappear from my downloads, but no matter what it will never download the dependencies.. ever. I've been trying to get this to work for 3 hours. Is there an older version of Virtualbox that I can use with Ubuntu 20.04? How can I get virtualbox going?

Here is the link on askubuntu: https://askubuntu.com/questions/1299444/how-to-install-virtualbox-on-ubuntu-20-04

🌐
ImagineLinux
imaginelinux.com › home › ubuntu › how to install virtualbox on ubuntu 20.04
How to Install VirtualBox on Ubuntu 20.04 - ImagineLinux
August 1, 2023 - That makes installation quite simple. Open a terminal from the main menu or press CTRL + ALT + T and run the following, 1. Update the source list using the below command. ... And there the whole installation process will begin.
🌐
It's FOSS Community
itsfoss.community › ubuntu
Virtualbox on Ubuntu 24.04 - Guest Additions - Ubuntu - It's FOSS Community
May 1, 2024 - I have a clean install of 24.04. Virtualbox installed from official repository without a hitch (NB “skip unattended”!). Guest additions iso on host /usr/share/virtualbox (also from official repository) Guest: Ubuntu 22.04 (minimal installation) and downloaded updates.
🌐
TREND OCEANS
trendoceans.com › home › blog › topic › tools › how to install the latest virtualbox 7.0 on ubuntu 22.04
How to Install the Latest VirtualBox 7.0 on Ubuntu 22.04 - TREND OCEANS
March 24, 2023 - There are three methods for installing VirtualBox on Ubuntu 22.04 or any other Ubuntu/Debian-based distribution such as Linux Mint,LMDE, Pop!_OS, Elementary OS, and others. And I’ll show you all the three different way to install VirtualBox on you computer such as:
🌐
VirtualBox
forums.virtualbox.org › board index › general › virtualbox on linux hosts
virtualbox on ubuntu 24.10 - virtualbox.org
October 16, 2024 - Here can download the right package for ubuntu 24.10: www virtualbox org / wiki / Linux_Downloads which downloads the oracular package: virtualbox-7.1_7.1.6-167084~Ubuntu~oracular_amd64.deb (It doesn't allow me to type those addresses links. ) Last edited by cvs72 on 6. Feb 2025, 09:25, edited 1 time in total. ... Joined: 7. Oct 2024, 14:27 ... Post by Virtebra » 8. Feb 2025, 16:03 · Hi cvs72, just setup the VirtualBox repo for installing 7.1.6 on Ubuntu 24.10.
🌐
idroot
idroot.us › home › how to install virtualbox on ubuntu 24.04 lts
How To Install VirtualBox on Ubuntu 24.04 LTS - idroot
May 25, 2024 - SSH access to the server (or just open Terminal if you’re on a desktop). An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies. An Ubuntu 24.04 system with root access or a user with sudo privileges. Step 1. Updating the Package Repository. Before installing VirtualBox, it’s crucial to update your Ubuntu system to the latest version.