When utilizing GRUB to boot from a Compaq Smart Array there are a few items that aren't commonly encountered and require special configuration. The configuration required is quite simple but can require hours to determine.
These instructions have been tested on Gentoo but should be generic enough to work on all distributions.
I'm assuming that the system is installed and GRUB has been installed as well. A working GRUB configuration is shown below:
The boot partition for the above example is partition five on the first disk.
The interesting thing about this configuration is the exclamation point (!) between the first subdirectory and the device node in the device node's path. Because the device name in the configuration has an exclamation point we need to manually update the device map, /boot/grub/device.map, accordingly. The corresponding device map for the above GRUB configuration is shown below:
If you don't have a floppy it doesn't require a device mapping.
Installing GRUB to the MBR
The last requirement is to install GRUB (with the provided configuration) to the master boot record (MBR).
Begin by entering the GRUB command line interface:
/sbin/grub --batch --device-map=/boot/grub/device.map --config-file=/boot/grub/grub.conf --no-floppy
Once you're in, use the following commands to install GRUB:
At this point GRUB should be installed and configured correctly. The only thing left is rebooting the machine to verify that it worked.