Do you confuse reading the title? In the beginning, SOT also confused to create suitable title for this article ^^. However, in this article, SOT will explain about how to install Ubuntu 12.10 in VirtualBox for Ubuntu 12.04 LTS.
Why Installing Ubuntu inside Ubuntu?
If you prefer using LTS version of Ubuntu (Long Term Support) but you want to taste the latest Ubuntu 12.10, install it in VirtualBox is a correct way. You can see and play directly with Ubuntu 12.10 from your Ubuntu 12.04.
Okay, let’s practice it!
1. Install the Latest VirtualBox
The latest VirtualBox when SOT wrote this article is version 4.2.2. To install it, you should follow this manuals:
Open terminal by Ctrl + Alt + T
Insert the latest key repository from VirtualBox by using this command in terminal
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add –
Fill in this command in terminal to add Virtual Box source list
sudo sh -c ‘echo “deb http://download.virtualbox.org/virtualbox/debian precise contrib” >> /etc/apt/sources.list’
After that, type on update APT command and install VirtualBox.
sudo apt-get update
sudo apt-get install virtualbox-4.2
The latest VirtualBox (version 4.2.2) will be installed directly in your computer.
2. Install Ubuntu 12.10 di Virtualbox
Open VirtualBox 4.2.2 and click on New. Fill in detail virtualization name, for type, insert: Linux and for version, fill in: Ubuntu. Click on Next.
Fill in RAM you want to allocate for Ubuntu 12.10 virtual.
Create virtual hard drive and click on create.
You can activate 3D Acceleration, shared clipboard, drag n drop, via settings.
If you did, click on Start.
For installation source, you can make DVD Ubuntu or ISO file. Here SOT used ISO file from Ubuntu 12.10.
Installation process from Ubuntu would be started as usual. Click on Install Ubuntu to start installation process.
Continue the installation process until it finished.
3. Install VirtualBox Guest Additions
After operating system is installed, you need to install VirtualBox Guest Additions. This is an important component, because without Guest Additions Ubuntu 12.10 performance in VirtualBox would be limited. For example screen resolution would be only able to reach 1024 x 768 (or 800 x 600) only. But after it is installed, the performance would be optimum!
Unfortunately for Ubuntu 12.10, Guest Additions there’s a little problem if you install it directly via Device > Install Guest Additions. The solution is installing it via terminal.
Open Ubuntu 12.10 virtual, and run terminal.
Make sure you already have DKMS (Dynamic Kernel Module Support). Type on this command in terminal:
sudo apt-get install dkms
After that, install VirtualBox Guest Additions.
If you already did, turn Ubuntu 12.10 Virtual off. Restart VirtualBox and re-run it.
Tadaaa…you already have Ubuntu 12.10 inside Ubuntu 12.04 LTS. Yay!
A few moment later, SOT will continue with manual to install Ubuntu 12.10 in VirtualBox for Windows. Stay Tuned! :D