How To: Boot Using GRUB from a Compaq Smart Array RAID Controller
Introduction
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.
Note
These instructions have been tested on Gentoo but should be generic enough to work on all distributions.
GRUB Configuration
I'm assuming that the system is installed and GRUB has been installed as well. A working GRUB configuration is shown below:
Note
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:
Note
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:
Conclusion
At this point GRUB should be installed and configured correctly. The only thing left is rebooting the machine to verify that it worked.
Comments
Comments powered by Disqus