- Open VirtualBox and select New . A new window will come out.
- Choose your guest OS and architecture (32 vs. 64 bit, e.g select Ubuntu)
- Set your Base Memory (RAM)
- 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
createbutton. - On VirtualBox main window, select START and pick your MEDIA SOURCE. In your case, select the .iso on your desktop.
- Finish the installation as normal install.
- Remove your installation .iso from the virtual optical disk drive before restarting the VM.
- 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- Open VirtualBox and select New . A new window will come out.
- Choose your guest OS and architecture (32 vs. 64 bit, e.g select Ubuntu)
- Set your Base Memory (RAM)
- 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
createbutton. - On VirtualBox main window, select START and pick your MEDIA SOURCE. In your case, select the .iso on your desktop.
- Finish the installation as normal install.
- Remove your installation .iso from the virtual optical disk drive before restarting the VM.
- 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.
Installing Ubuntu under virtual box
- open virtualbox
- than click New

- then click Next
- Set name something like Ubuntu 12.04 (it will automaticly set type to linux)
- Set memory f.e. 1024 MB
- Select Create new hard disk
- Select VDI then Next
- Select Dynamically allocated then Next
- Set location(let it stay its default) and its size (f.e 20GB) then Next
- Then Create
- Then again Create
- Here is two ways
- Install from .iso
- Install from DVD
- Install from .iso
- Start VM
- There select what kind of installation you want(from iso or from dvd)
- then the installation will start
I made a clean, beginner-friendly guide for installing Ubuntu in VirtualBox (2026 edition)
How do I install virtualbox?
Virtualbox on Ubuntu 24.04 - Guest Additions
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.comVideos
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 🥂
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
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
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
























