I would like to know if anyone can help me with installing Ubuntu on VirtualBox
- 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
- 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
Go to the home page on Ubuntu's website and then go to the download section, and get Ubuntu if you haven`t done so already. You can burn the image to a CD or use it as is ISO image. Install VirtualBox if not installed already.
To install Virtualbox you can download it from VirtualBox
Once downloaded, navigate to where the file was downloaded, and then double click on it to install.
Once you have done the previous steps go here for a complete tutorial on how to install Ubuntu inside a virtual box.
You can get images specifically configured for virtual machines (for example, they might have VirtualBox Guest Additions preinstalled), but AFAIK they're all third-party.
To install Ubuntu on a virtual machine, you can use the regular Desktop images. For example in VirtualBox you can set up the VM, add a .iso file as a CD, boot from it, then install via the live system, just like on a physical machine (and then you'd want to install Guest Additions).
For more details, see
Most of the answers here are from 2012, below is one that is describing the 2020/2021 software situation better. Many options differ, others has changed.
NOTE: 20.04 LTS was used while creating the text, the version or variant (KUbuntu, XUbuntu, Mint, ...) should make no difference to as the actual INSTALL is stated very generally in step 16 below. There MAY well be performance differences though, comparing variants with e.g. gnome and xfce window managers).
- The VM below was setup on an Ubuntu 20.04 host
- The hardware: i4770K, 32G RAM, nVidia 2060, SSD for system and HDD:s for data and VM:s/Virtual disks/... .
- The performance of the VM is generally always lower than the host system.
Install virtualbox (version 6.1.10 was used to create the text below here).
Download "Ubuntu install and live media" (an *.iso file, from e.g. https://ubuntu.com/download)
Select Machine > New from the menu (CTRL-N)
Type in a Name - e.g. Ubuntu_20_04
Set Type and Version to Linux and Ubuntu (64-bit) - click Next
Set memory size for Ubuntu (8GB [8192 MB] or above, depending on what you will use the VM for) - click Next
Select Create virtual hard disk now - click Create
Click VDI (Virtualbox Disk Image) - click Next
Click Dynamically allocated (less space required) OR Fixed size (faster install) - click Next
Set filename and Size for the virtual disk (this image file will be the first harddisk of the virtual machine) - click Create
Ubuntu_20_04 is selected in the left side pane - click Settings (icon, upper row in VBox window)
Click Storage and then Empty under Controller: IDE
click the CD icon to the right of Optical drive, a menu appears, select Choose a disk file and select the ISO file you downloaded in step 2.
General -settings, Advanced tab, bidirectional Clipboard and Drag'n'Drop,
System -settings, Processor; Set at least TWO (best: at top of green range),
Display settings - raise the amount of Video memory (best: at top of green range).
click OK, click Start
Install Ubuntu in the VM (Virtual Machine), exactly the same way as when using a computer (follow the instructions provided for the chosen Ubuntu variant).
Reboot, login - Now one needs to install the
build-essentialpackage to succeed with the next step:
hold CTRL and ALT, hit T - to get a Terminal running. Type
sudo apt install build-essential dkms linux-headers-$(uname -r)
and press ENTER, answer
Yand ENTER on the verifying question, then wait for the task to complete (no more text appears, there is a
$and a blinking(?) cursor next to it)
To get further: VERIFY that there was no fatal ERROR or FAIL -text displayed (those would need to be resolved, not handled here).
exitto close the window.
Lastly select Devices > Insert Guest additions CD image from the VB menu to install the "drivers" (e.g. display, mouse and sharing; also note 'USB' in Virtualbox settings ).
Handle the VM the same way as a hardware-computer - note the icons at the bottom edge of the window, use the menus for e.g. 'reset' (ctrl-alt-delete).
- Download Ubuntu ISO
- Download Oracle Virtual Box and install it. https://www.virtualbox.org/
- Create a new Virtual Machine, go with the flow and choose settings as you feel right.
- You would be booted in a live mode and greeted with a desktop where you can see install Ubuntu icon.
- Click on it and complete the installation.
- Once done, restart the VM and now you have a complete VirtualBox running Ubuntu.
Source : Install Ubuntu 20.04