[CentOS] [SOLVED] Re: Installing a CentOS based distro with Raid driver - Citrix XenServer

Tue May 4 16:11:35 UTC 2010
Tru Huynh <tru at centos.org>

On Tue, May 04, 2010 at 03:03:00PM +0200, Georghy wrote:
> (1)Download that driver : 
> http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=3117&DwnldID=18570&lang=fra
> from the intel support web site

You should have started your installation with "linux dd" and the initrd would
have been automatically created for you... (if xenserver works as CentOS-5)


3.1.3 Installing RHEL5 (with or without Update 1, Update 2, Update 3, Update 4) on RAID

In order to support XEN mode, the system needs to have its Virtualization feature enabled in BIOS as a first step, and XEN software package in the OS needs to be loaded during installation.

1) Create a RAID array using the Intel(R) Embedded Server RAID Technology II RAID BIOS Console.
2) Connect USB floppy drive and insert the floppy disk with RAID driver
3) Boot your system using RHEL5.0 DVD
4) At boot prompt type "linux dd noprobe=ata1 noprobe=ata2 noprobe=ata3 noprobe=ata4"
5) And then you'll see a page that shows "loading usb-storage driver", and then it will ask you "Do you have a driver disk". Choose "Yes"
6) Then it will ask you which one do you choose as a driver disk, choose "sda" which is the USB floppy disk. And then click OK to continue, you'll see the message "Reading driver disk",  after it finishes, it will ask "Do you wish to load any more driver disks?" choose No if you do not have any more driver to load.
7) (If XEN mode feature is needed, the OS installatng KEY is necessary and then XEN software package needs to be loaded)  Then continue with the RHEL automatic installation, you can see that in the page where we select drives to use for installation, you can only see 1 disk (Intel MegaSR), this means the raid is recognized. 
8) At the last step of the installation (after all the packages are installed) RHEL5 prompts you to reboot. Do not click reboot button. Press Ctr+Alt+F2 to go to the text console prompt.
9) type "cat /proc/partitions" you will see some info about the partition.  For example, you might find several rows, one row might include sdb. You might find like this

major	minor	#blocks	name
8	16	1440	sdb

10) type "mknod /dev/sdb b 8 16"  (8 and 16 are copied from the major and minor numbers in step #9, so that the numbers could change according to what is seen in step #9)
11) type "mkdir /temp"
12) type "mount /dev/sdb /temp"
13) type "ls /temp" and you can find all the driver files are now in /temp
14) Use cd command to enter /temp directory
15) type "./replace_ahci.sh" to execute the script. It will remove ahci from /etc/modprobe.conf and blacklist ahci in /etc/modprobe.d/blacklist (replace_ahci.sh is also an example, and please implement the script even if the *.sh is with other name).
16) Go back to graphic screen and reboot the system in order to finish the installation.

Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100504/19827bca/attachment-0005.sig>