When using RHEL/CentOS 4 kickstart installation, the hard drives are not detected

Problem

When using RHEL/CentOS 4 kickstart installation, the hard drives are not detected. Affected controllers include the Adaptec 2000S, 2005S, 2010S and 2015S Zero Channel SCSI RAID.

Solution

The RHEL/CentOS 4 installer does not automatically detect Adaptec I2O based storage controllers. To automatically load the device driver during installation, add the following entry to the top of the kickstart file:

device scsi i2o_block

In addition, a bug in the GRUB package prevents the boot loader from being correctly installed to the disk. The GRUB bug also affects Fedora Core 3. This can be worked around by adding the following to the bottom of the kickstart file:

%post 
/sbin/grub-install /dev/i2o/hda