< Previous | Contents | Next >
6.60.1. Installation of GRUB
Prepare GRUB for compilation:
./configure --prefix=/usr
--sbindir=/sbin
--sysconfdir=/etc
--disable-efiemu
--disable-werror
\
\
\
\
./configure --prefix=/usr
--sbindir=/sbin
--sysconfdir=/etc
--disable-efiemu
--disable-werror
The meaning of the new configure options:
--disable-werror
This allows the build to complete with warnings introduced by more recent Flex versions.
--disable-efiemu
This option minimizes what is built by disabling a feature and testing programs not needed for LFS. Compile the package:
make
make
This package does not come with a test suite. Install the package:
make install
mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions
make install
mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions
Using GRUB to make your LFS system bootable will be discussed in Section 8.4, “Using GRUB to Set Up the Boot Process”.