7.11. GRUB-1.99

The GRUB package contains the GRand Unified Bootloader.

7.11.1. Installation of GRUB

[Note]

Note

If you would like use a different bootloader than this one you can go to the following link for alterative bootloaders and the instructions to use them. http://trac.cross-lfs.org/wiki/bootloaders

[Note]

Note

Grub2 requires Flex 3.5.35 or greater which has not been installed yet. If your host does not have Flex then install it now via the distro's package manager.

Prepare GRUB for compilation:

./configure --prefix=/usr \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --sysconfdir=/etc --disable-werror

Compile the package:

make

Install the package:

make DESTDIR=${CLFS} install

Details on this package are located in Section 10.88.3, “Contents of GRUB.”