Installing Ubuntu 13.04 amd64 on Virtualbox

This post will deal with installing a 64 bit linux distribution (in this case Ubuntu 13.04 amd64) on Virtualbox . Virtualbox in a layman’s terms is nothing but an environment within your system in which you can install any OS of your choice , be it Linux , Mac OS or Windows . Just about anything ! But it can get tricky . Installing Ubuntu 13.04 alongside Windows 8 is in itself a handy task , so a lot of people might lean towards Virtualbox as it provides an easy solution . More importantly , no matter what you do in Virtualbox , the chances that you are going to end up crashing your system are as remote as it could get . I too had initially planned to use Virtualbox to solve my problem of Ubuntu/Windows8 dual boot . But I configured it alright and I just completely ignored Virtualbox . Now , I feel that Virtualbox is a priceless tool for carrying out your “experiments” with different OS’s .

Choose the Ubuntu(64 bit) from the drop down list
Choose the Ubuntu(64 bit) from the drop down list

Now Installing Windows on Virtualbox is pretty straightforward task and moreover not many would actually go for it as most of the systems come with Windows pre-installed . So let’s get into the details of installing a Linux distribution (Ubuntu 13.04 amd64) on Virtualbox . While working on Virtualbox , two trivial terms that you need to understand are the “Guest OS” and the “Host OS” . The OS which you would like to install of Virtualbox is called the guest OS whereas the OS on which Virtualbox is itself installed is called the host OS , i.e the OS which supports the Virtualbox .Our guest OS is Ubuntu 13.04 amd64 .

Choose the desired amount of memory
Choose the desired amount of memory

Note here that , Host OS being Windows 8 or any latest linux distribution shouldn’t really make much of a difference in terms of the UI of the virtualbox , for a specific version of Virtualbox ,from that of the previous version of the Host OS.

Create a Virtual Hard Drive
Create a Virtual Hard Drive

For installing Ubuntu 13.04 amd64 , First get the ISO of the same from the Ubuntu website[1] . Now open the Virtualbox manager and click on “New” and enter a name for the OS and set the version to “Ubuntu(64 bit)”.Here onwards , things are more or less straightforward . Select the memory size , create a virtual hard drive , let the hard drive file type be VDI(Virtual Box Disc Image) and the storage on hard drive be “Dynamically allocated”. Provide the name and location of the Virtual Hard drive and set the size of the Virtual Hard disk as desired . Now in the list of Virtual Machines you can see your latest Virtual Machine with the name of the virtual machine you had initially provided . Choose it and click on “Start” . Now the Virtual Box manager will ask for the “Virtual Optical disk file” or the optical drive containing your disk to start your new virtual machine from . Navigate to the drive/folder location where the you had initially saved the Ubuntu 13.04 amd64 iso , which we had downloaded from [1] . That’s it !

Let the Hard Drive filetype be VDI(Virtualbox Disc Image)
Let the Hard Drive filetype be VDI(Virtualbox Disc Image)

The normal Ubuntu 13.04 amd64 installation should have begun ! But this is where you might get stuck . You are expecting the installation to start but then all of a sudden you might get an error-message that looks somewhat like this

this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

This is because you haven’t enabled virtualization in your system . You need to do this from your BIOS .
So , boot your system , enter the BIOS and navigate to virtualization and have it enabled .Now after resuming normal boot ,open the Virtualbox manager and go to system > acceleration and enable VT-x/AMD-V .

Let the storage be dynamically allocated
Let the storage be dynamically allocated
Specify the Name,Location and Size of the Virtual Hard-drive
Specify the Name,Location and Size of the Virtual Hard-drive
The final piece of the Jig-saw . Enable the VT-x/AMD-V
The final piece of the Jig-saw . Enable the VT-x/AMD-V

Now start your virtual machine again and you should be fine πŸ™‚

[1] http://www.ubuntu.com/Β 

Advertisements

2 thoughts on “Installing Ubuntu 13.04 amd64 on Virtualbox

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s