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 .
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 .
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.
For installing Ubuntu 13.04 amd64 , First get the ISO of the same from the Ubuntu website . 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  . That’s it !
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 .
Now start your virtual machine again and you should be fine 🙂
- How to Increase Resolution for Ubuntu or Linux in Virtualbox (alexhunt86.wordpress.com)
- Installation of Oracle VM VirtualBox on Linux (packtpub.com)