          MODULE=grub2
         VERSION=1.98
          SOURCE=grub-$VERSION.tar.gz
         SOURCE2=$MODULE-$VERSION-lunar.patch
   SOURCE_URL[0]=ftp://alpha.gnu.org/gnu/grub
   SOURCE_URL[1]=http://www.funet.fi/pub/gnu/alpha/gnu/grub
     SOURCE2_URL=$PATCH_URL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/grub-$VERSION
      SOURCE_VFY=sha1:e83a2c438f4773a2e272c225983c0145e1ffd641
     SOURCE2_VFY=sha1:9bb228113d7a56270034414dea74f2c8b9c9affa
        WEB_SITE=http://www.gnu.org/software/grub
         ENTERED=20100112
         UPDATED=20100112
      MAINTAINER=dagbrown@lunar-linux.org
           SHORT="GNU GRUB boot loader"

cat << EOF
GNU GRUB is a Multiboot boot loader. It was derived from GRUB, GRand
Unified Bootloader, which was originally designed and implemented by
Erich Stefan Boleyn. Briefly, bootloader is the first software program
that runs when a computer starts. It is responsible for loading and
transferring control to the operating system kernel software (such as
the Hurd or the Linux). The kernel, in turn, initializes the rest of
the operating system (e.g. GNU).  Now with md, LVM and ZFS support!

Sample command to install grub on an ide hard drive with a boot
partition mounted anywhere, and a root partition mounted likewise:

~# grub-install /dev/sda

Sample /boot/grub/grub.cfg file is:

set default=0
set timeout=30

menuentry "Lunar Linux 2.6.31" {
    linux /2.6.31 ramdisk_size=16384 ro
    initrd /initramfs-raid.gz
}

menuentry "Lunar Linux 2.6.31 (emergency initrd boot)" {
    linux /2.6.31 ramdisk_size=16384 ro init=/bin/sh
    initrd /initramfs-raid.gz
}

menuentry "Lunar Linux 2.6.31 (rescue boot)" {
    linux /2.6.31 ramdisk_size=16384 ro init_run=/bin/sh
    initrd /initramfs-raid.gz
}

EOF
