Installing CentOS 6.5 in VirtualBox [minimal] + Screenshots

Posted: September 4, 2014 in Linux / Redhat, Virtualization
Tags: , , , , , , , ,

I have just installed CentOS 6.5 (minimal)  in Virtual Box on my Windows 8.1 pc. This is how I installed CentOS. Hope this helps.

[Update: The updated version of this article with screenshots for CentOS 6.7 can be found here.]

Requirements:

  1. CentOS 6.5 32-bit ISO : Download Link (~330 MB)
  2. Virtual Box : Download Link (~110 MB)
  3. Atleast 8 GB of free disk space.

Installation Procedure:

First, thing you need to  do is to set up your Virtual Box. Go ahead download and install Virtual Box (the download link is given above in the requirements).

Press “New“, Type Name as “CentOS 6.5 32 bit” or anything you want. Set the type as “Linux“, Version as “Red Hat 32 bit“. And press “Next”.

create vm

name and type of OS pic

Allocate RAM to 512 MB RAM or higher , then click “Next“.

select ram size pic

Then select the option “Create a virtual hard drive now “, then click on “Create“.

create hd pic

Select hard drive file type as the first option “VDI” , then click on “Next“.

hard disk type: vdi pic

Select type as “Dynamically allocated“. Choose the amount of hard disk space you want to allocate for your CentOS system. Select atleast 8Gb-10GB or higher and then click on “Create“.

VM HD size pic

Now, you would see the home screen of the Oracle Virtual box, Click on the CentOS VM you have created and then click “Start“.

start vm

Then click on the yellow folder icon and select the ISO file that you have downloaded.

Select ISO location

Then click on “Start“.

start boot

Wait for a few seconds and you will see the CentOS boot menu. Now, select the first option “Install or upgrade an existing system“.

Boot menu picture

 

[Note: To scroll through different options, you can either use the Arrow keys in your keyboard or the TAB key to move through different options . You may also use SPACE bar in your keyboard or ENTER key to make selections]

Now, you will probably get a message box saying “Disk Found” and if you want to verify the contents in the CD. Press “Skip”. If you need, you can press “OK” and verify the contents but it might take a while.

Using your arrow keys, select “Skip” and then hit “Enter“.

Disk check pic

loading screen

Hit “OK“.

CentOS Welcome

Now, select the language and then use the TAB key and then select “Ok” and hit ENTER.

select language

Now, select the model of the keyboardand then select “OK“.

keyboard selection pic

If you get a “Warning Message” such as the one below, just chooseRe-initialize all“.

Re-initialize all picture

Now, select your time zone and then hit “OK“. Then select a password for your “root” (or admin account), you can use TAB keys to reach the next box, and finally select “OK” and hit ENTER.

create root password

Now, select the option “Use entire drive“, and select “OK”.

allocate hard drive picture

Now, select “Write changes to disk” and the installer should start right up.

installation picture

installation progress pic

After, it is done installing , you will see a message saying “Congratulations, your CentOS installation is complete“. Select “Reboot” and hit ENTER.

installation complete -Reboot

Now, it should boot right up.

centos bootup picture

now, type login as: root , Then hit ENTER. Then type the password and hit ENTER. You should see now be able to see the terminal window with the # symbol.

root login pic

 

And voilà ! You have successfully installed CentOS 6.5 in Virtual Box.

This is a minimal mode CentOS and so many application packages are not installed. You will also have to configure the network to access the internet.

[UPDATE: To configure network in CentOS 6.5 (which is the same as configuring centos 6.3), I have made a detailed guide with screenshots, you can find it here.]

If you have any sort of queries on regarding this installation, just leave a comment and will get back at you. Don’t forget to follow my blog to get future updates! :D

Regards
ΞXΤЯ3МΞ

Comments
  1. Michael says:

    Be prepared to run several re-installations. It’s common for CentOS to hang 30+ minutes during the boot process -I’ve never figured out why it does.
    Other than that, the CentOS VM is excellent for developing Apache and PHP skills with the right packages installed.

    • ΞXΤЯ3МΞ says:

      @Michael, so far luckily I haven’t faced such an issue so far (and am hoping it doesn’t happen). Did the boot issue occur after an CentOS upgrade was performed?

      Regards
      ΞXΤЯ3МΞ

  2. fx says:

    wow thank you.. it was awesome.. Good luck

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