Install CentOS on VirtualBox

This is a guide for installing Oracle VirtualBox 4.2.10 and CentOS 6.4. VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise and home use. CentOS is a free enterprise-class Linux distribution.


Install VirtualBox 4.2.10

Run the downloaded installer VirtualBox-4.2.10-84105-Win.exe

Step through the setup wizard to select features and location to install, i.e. follow these steps:






Install CentOS 6.4

I’ve downloaded the 64 bit CentOS-6.4-x86_64-minimal.iso from one of the listed mirrors and saved it to the local hard drive. This will install the bare minimum to get CentOS up and running. Other components can be added after installation.

The steps for installation are:

Start up VirtualBox 4.2.10 and create a new Virtual Machine by clicking on New.

Make the following selections:

  • Name: the name for the virtual machine
  • Type : Linux, Version : Red Hat (64 bit)
  • Memory size : 1024 MB
  • Hard drive: Create a virtual hard drive now
  • Hard drive file type: VDI (VirtualBox Disk Image)
  • Storage on physical hard drive: Dynamically allocated
  • File location: Select your desire location
  • Size of virtual hard drive (MB): 20 GB or the default 8GB



Once the new virtual machine is created, click Settings in the Oracle VM VirtualBox Manage, and make the following changes before initiating the CentOS installation:

  • General settings – Advanced tab: specify the location for the virtual machine snapshot folder
  • Systems settings – Processor tab: ensure Enable PAE/NX is checked
  • Network settings – Adapter 1 tab: under Enable Network Adapter, select Bridged Adapter for Attached to





Start the CentOS installation.

Click Start in the Oracle VM VirtualBox Manager to initiate the CentOS installation.

  • For start-up disk, ensure CentOS-6.4-x86_64-minimal.iso (342.33MB) is selected. If not, click on the folder icon beside the drop down list to browse to the location where you saved the downloaded iso file
  • Then click Start
  • Skip the media test
  • Select Install or upgrade an existing system
  • Select Basic Storage Devices
  • Select Yes, discard any data for Storage Device Warning if this is a new installation
  • Enter a host name for the virtual machine
  • Type of installation: Replace Existing Linux System(s)
  • Select Write changes to disk when prompted about writing storage configuration to disk





Congratulations! You have now successfully setup Oracle VirtualBox 4.2.10, created a new virtual machine and installed CentOS 6.4.


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s