How to Install CentOS 7 on RAID Partition

RAID Mirroring means an exact clone (or mirror) of the same data writing to two drives. A minimum two number of disks are more required in an array to create RAID1.



To install a CentOS server you will need to download the CentOS 7.0 iso image from a mirror next to you.

The list of mirrors can be found here:

We are going to do a minimal installation using CentOS-7.0-1406-x86_64-Minimal.iso image.

This image is to install a very basic CentOS 7 system, with the minimum of packages needed to have a functional system, everything else needs to be installed using yum. There are also images for a network installation, Live CD/DVD version and more.

Installation using RAID 1 Partition

  1. Once you are done with all the primary settings like setting the language etc, you would get to the screen where you can select the installation destination.


2. Select the 2 disks present on the system – sda and sdb. Also select the button I will configure partitioning and then click button done.


3. Click create them automatically.


4. Select Device Type to be RAID and write your personal label, such as md0


5. Similarly, you can set the Device type and labels for swap and /boot partitions as shown below.



If you want to add other partition, then click + on the left bottom, then enter size. Select Device Type to be RAID as well.


6. Then click Done to format the partition.

CentOS installation is now similar to Fedora’s one, where we have to complete all items before to be able to click on Begin Installation button.

7. Network & Hostname

Enter the hostname of the server, then click on the Configure… button to assign a static IP address.


In the IPv4 Settings tab select Manual then click on Add button  and select static IP address, once you have done that you need to add the DNS settings

When you have completed the network settings click on Save.


You can see now a summary with your connection details, click ‘ON’ to activate it.


8-User settings:

We can set the root user password while the installation has started


Root password

Enter a password for the root user and click on Done button twice,