grub - The LCFG component to generate and install grub bootloader
This component is used to generate grub menu (.lst) files both to configure grub on the local machine and to provide .lst files for remote hosts to boot off via pxegrub. The object supports both the VGA and serial consoles and will allow arbritrary command line options to be passed to the kernel.
The component builds up a series of files based on the grubfiles resource and stored them in /tftpboot/grub_files. A local configuration file can be specified for install into /boot/grub/menu.lst.
The grubfile configuration which should be used as the local configuration file, this will be copied to /boot/grub/menu.lst
A list of configuration files which the grub component should generate, each file is made up of a number of global configuration statements followed by a list of operating systems to boot.
The default menuitem to boot (0 is the first.....).
how long to wait until booting the default menuitem
The menu item to fall back to if the default menu will not boot.
A pair of colours (foreground/background) for the menu.
Similarly a pair of colours to set a selected menu item to.
This resource is used to define the serial port to be used when grub is to be used via a serial console, 0=com1, 1=com2 .....
The speed to set the coms port to.
Where to display output from grub, this can be console (on a PC the SVGA port) or serial (the serial port selected by serialunit or both serial and console in which case the first connection which returns keypress will be selected.
A list of menuitems to be used in this grub file.
This resource is used to replace the standard grub menu with something a bit more cryptic.
A password to protect the menu. This should be an md5crypt generated by running /sbin/grub and using the md5crypt command. This prevents users from editing the menu items by using the e option.
A tag list of menu items, these are essentially different boot options.
Some identifiable title for the item.
Prevents anyone booting a menuitem without entering a password
Password to control access to this menu item, this can either prevent people editing the item or (in conjunction with the lock resource, prevent anyone booting an item. As with the password_$ resource this is an md5cryp.
The grub root device, not to be confused with a Unix root filesystem.
Specify an alternative configuration file to use.
Grub normally can deal with booting OS's but in cases where it can't this simply treats the appropriate chunk of disk like a boot record and attempts to boot it. =item kernel_$
The path to the kernel to use (usually /boot/vmlinuz).
the root filesystem to boot from.
Any kernel arguments to be passed to the kernel.
An initial ramdisk to be loaded.
Umm, it's all hopefully loaded, boot it.
Define a background image to be displayed by grub. NB this is a redhat addition and may not work with official releases of grub.
A yes/no flag to indicate whether or not grub should generate a local configuration file and install itself on the MBR of the local machine.
A yes/no flag to indicate whether the host should generate grub configuration files for use in pxegrub installs.
For more information see the grub manual
Fedora3, Fedora5, Fedora6, Scientific5
Stephen Quinney <squinney@inf.ed.ac.uk>