Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

How to install Ubuntu from ISO file to VirtualBox on Ubuntu

πŸ“… 2013-Aug-24 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ iso, ubuntu, virtualbox ⬩ πŸ“š Archive

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.

http://www.youtube.com/watch?v=2IrjocrbP6c

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


Β© 2023 Ashwin Nanjappa β€’ All writing under CC BY-SA license β€’ 🐘 Mastodon β€’ πŸ“§ Email