How to install Ubuntu from ISO file to VirtualBox on Ubuntu

It is sometimes useful to have one or more VMs of Ubuntu running on your native Ubuntu installation. For example, this can be useful for testing your code under certain software environments. One of the easiest ways to run VMs on Ubuntu is using VirtualBox.

It is pretty straightforward to setup a Ubuntu VM in VirtualBox.Β The only problem is to install Ubuntu from its ISO file into the VM. To do this, VirtualBox has to see the ISO file as a DVD disk that has been mounted from a (virtual) DVD drive. To do this:

1. Right-click on your VM and choose Settings > Storage > IDE Controller > Add CD/DVD Device.

2. Click on Choose disk and point it to your Ubuntu ISO file.

3. Now start the VM. it will boot from your ISO file and you can proceed with your Ubuntu installation on your VirtualBox.

Tried with: VirtualBox 4.1.12 and Ubuntu 12.04 LTS

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.