Sunday, 2 February 2014

Installing CentOS on VirtualBox

Task was to install CentOS on VirtualBox.
Host OS is Windows 7.

VirtualBox can be downloaded from https://www.virtualbox.org/wiki/Downloads
I downloaded VirtualBox 4.3.6 for Windows hosts for x86.

CentOS can be downloaded from http://wiki.centos.org/Download for i386 or x86_64

Basic steps to install CentOS on VirtualBox with screenshots can be found at:

This is quite easy but I would like to share the problem I faced during installation.

I was getting the following error while installing CentOS.

"This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot – please use a kernel appropriate for your CPU"



And the reason was choosing "Red Hat" instead of "Red Hat(64 bit)"(the only option I was getting) ,for which x86_64 image was not compatible.

Then I downloaded i386 image from the same link http://wiki.centos.org/Download and yeah it worked perfectly. :)