VIRTUALIZATION OF MACHINE
Installing CentOs (CentOS-6.2-x86_64) in VirtualBox within Ubuntu 11.10
(Do see the problem section in the end)
The following steps have been followed :-
1. Install virtualbox by the terminal
sudo apt-get install virtualbox
2. Download CentOS ISO image
Download CentOS iso image. (http://wiki.centos.org/Download)
3. Create a virtual machine : -
- Click on “New“, Name - “CentOS 64 bit”.
- Type - “Linux“, Version as “Others/Red Hat 64 bit“.
- Recommended Memory - 512 Mb
- Create a virtual Hardisk Now”
- Select Dynamically allocated“
- Give the size at least about 8Gb-10GB.
- On the Virtual Box Home Screen, press “Start“.
4. Installing CentOs on the Virtual Box
- Press "Start", click on the small folder icon and go to the location of the CentOs iso image file and click Start.
- Click NEXT in the next 2-3 steps which are used occasionally.
- Discard any data that exists in the hard disk that you created earlier for this VM. Continue as it will not discard your existing operation system.
- Enter a password for root user.
Error/Problem Section -
I always face the most unexpected error. This time, I was getting an error while starting the virtual machine as -
this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot
Solutions -
1. Recheck the bit of CentOs. Does it match with the bit you entered in first step of step 3..?? If no, create a new virtual machine or edit the existing one.
2. The problem I faced is this one. Restart the computer and go to the BIOS settings. Check whether the virtualization is enabled there or not? If no, enable it.
Hope all's well..!!