%general-entities; ]> grub &grub-version;
&grub-url;
GRUB-&grub-version; GRUB <para>The GRUB package contains the GRand Unified Bootloader.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&grub-fin-sbu;</seg> <seg>&grub-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of GRUB If your system has UEFI support and you wish to boot LFS with UEFI, you can skip this package in LFS, and install GRUB with UEFI support (and its dependencies) following the BLFS page at the end of this chapter. Prepare GRUB for compilation: ./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 The test suite for this packages is not recommended. Most of the tests depend on packages that are not available in the limited LFS environment. To run the tests anyway, run make check. Install the package: 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 . Contents of GRUB Installed programs Installed directories grub-bios-setup, grub-editenv, grub-file, grub-fstest, grub-glue-efi, grub-install, grub-kbdcomp, grub-macbless, grub-menulst2cfg, grub-mkconfig, grub-mkimage, grub-mklayout, grub-mknetdir, grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone, grub-ofpathname, grub-probe, grub-reboot, grub-render-label, grub-script-check, grub-set-default, grub-sparc64-setup, and grub-syslinux2cfg /usr/lib/grub, /etc/grub.d, /usr/share/grub, and /boot/grub (when grub-install is first run) Short Descriptions grub-bios-setup Is a helper program for grub-install grub-bios-setup grub-editenv A tool to edit the environment block grub-editenv grub-file Checks if FILE is of the specified type. grub-file grub-fstest Tool to debug the filesystem driver grub-fstest grub-glue-efi Processes ia32 and amd64 EFI images and glues them according to Apple format. grub-glue-efi grub-install Install GRUB on your drive grub-install grub-kbdcomp Script that converts an xkb layout into one recognized by GRUB grub-kbdcomp grub-macbless Mac-style bless on HFS or HFS+ files grub-macbless grub-menulst2cfg Converts a GRUB Legacy menu.lst into a grub.cfg for use with GRUB 2 grub-menulst2cfg grub-mkconfig Generate a grub config file grub-mkconfig grub-mkimage Make a bootable image of GRUB grub-mkimage grub-mklayout Generates a GRUB keyboard layout file grub-mklayout grub-mknetdir Prepares a GRUB netboot directory grub-mknetdir grub-mkpasswd-pbkdf2 Generates an encrypted PBKDF2 password for use in the boot menu grub-mkpasswd-pbkdf2 grub-mkrelpath Makes a system pathname relative to its root grub-mkrelpath grub-mkrescue Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD grub-mkrescue grub-mkstandalone Generates a standalone image grub-mkstandalone grub-ofpathname Is a helper program that prints the path of a GRUB device grub-ofpathname grub-probe Probe device information for a given path or device grub-probe grub-reboot Sets the default boot entry for GRUB for the next boot only grub-reboot grub-render-label Render Apple .disk_label for Apple Macs grub-render-label grub-script-check Checks GRUB configuration script for syntax errors grub-script-check grub-set-default Sets the default boot entry for GRUB grub-set-default grub-sparc64-setup Is a helper program for grub-setup grub-setup grub-syslinux2cfg Transform a syslinux config file into grub.cfg format grub-syslinux2cfg