Its been a while since we have discussed Virtualisation in Ubuntu using KVM – Kernel Virtual Machine. Its about time for us to move on to discuss one of the most famous cross-platform Virtualisation solutions out there – VirtualBox.
VirtualBox is a powerful x86 and AMD64/Intel64 virtualisation product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). Recently, Oracle Virtual Box 3.2.8 has been released with a lot of improvements. We will discuss the installation of Virtual Box and using it to run a Guest OS inside Ubuntu 10.04 LTS.
Download :-VirtualBox 3.2.8
Installing Virtual Box is really simple. Just download the .deb and double click the file, Gdebi Package installer will install it automatically for you 🙂 (make sure you have uninstalled the previous version of VirtualBox if any).
Open the terminal and type –
/*Change Directory to the one where VBox has been downloaded */
sudo dpkg -i virtualbox-3.2_3.2.8-64453~Ubuntu~lucid_i386.deb
1)Access VirtualBox from Menu>System Tools>Oracle VM VirtualBox and run it.
2)When the VirtualBox main screen appears, click “New” on top left corner to start with new Guest OS installation.
3)Type the “Name” of your VM and select OS and its version.
4)Allocate RAM to the Guest OS. Make sure to allocate it wisely for better performance.
5)Select Virtual HardDisk. Select “Create New Hard Disk” and click “Next” . A virtual disk creation wizard will open :
- Click Next and select “Location” and “Size” of the Virtual Machine and click “Next”.
- Select Hard Disk Storage type as “Dynamically Expanding Storage” and click “Next”.
- See summary of your preferences, check it again and click “Finish”.
6)Now the Screen will show summary of the VM preferences, take a clear look and click “Finish” to start booting with the guest VM.
7)Select Guest VM (here, its “Kubuntu”) and click Start to boot the VM.
8)First Run Wizard will open and will ask you to select “Installation Media”. Select your choice and click “Finish”.
9)The machine will now start booting will all the proposed settings.
10)Install the Guest OS as usual and test virtualisation with VirtualBox in Ubuntu.