source: chapter06/grub.xml@ ea3c5b5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since ea3c5b5 was 5d1f0157, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Added perl patch to fix CVE-2014-4330.

Update to grub-2.02~beta2. It's been in beta for over 9 months
and a 'stable' does not seem to be forthcoming.

Document glibc tests known to sometimes fail.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10769 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 10.5 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[4ae4324]7
[81fd230]8<sect1 id="ch-system-grub" role="wrap">
[4ae4324]9 <?dbhtml filename="grub.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>grub</productname>
13 <productnumber>&grub-version;</productnumber>
14 <address>&grub-url;</address>
15 </sect1info>
16
[4ae4324]17 <title>GRUB-&grub-version;</title>
18
19 <indexterm zone="ch-system-grub">
20 <primary sortas="a-Grub">GRUB</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[673b0d8]25
[4ae4324]26 <para>The GRUB package contains the GRand Unified Bootloader.</para>
[955533b]27
[4ae4324]28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
[5888299]31
[4ae4324]32 <seglistitem>
[e4a5635]33 <seg>&grub-ch6-sbu;</seg>
34 <seg>&grub-ch6-du;</seg>
[4ae4324]35 </seglistitem>
36 </segmentedlist>
[673b0d8]37
[4ae4324]38 </sect2>
[81fd230]39
[4ae4324]40 <sect2 role="installation">
41 <title>Installation of GRUB</title>
42
43 <para>Prepare GRUB for compilation:</para>
[9dfc02f]44
[9f5aaf7]45<screen><userinput remap="configure">./configure --prefix=/usr \
[d02c56d]46 --sbindir=/sbin \
[9f5aaf7]47 --sysconfdir=/etc \
48 --disable-grub-emu-usb \
[b815cec]49 --disable-efiemu \
50 --disable-werror</userinput></screen>
[f9bcaec]51
[b815cec]52 <para>The --disable-werror option allows the build to complete with
53 warnings introduced by more recent flex versions. The other --disable
54 switches minimize what is built by disabling features and testing programs
55 not needed for LFS.</para>
[9dfc02f]56
[4ae4324]57 <para>Compile the package:</para>
[73aedd1d]58
[0445a3d]59<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]60
[f9bcaec]61 <para>This package does not come with a test suite.</para>
[81fd230]62
[4ae4324]63 <para>Install the package:</para>
[73aedd1d]64
[f9bcaec]65<screen><userinput remap="install">make install</userinput></screen>
[4ae4324]66
[2ca8941]67 <para>Using GRUB to make your LFS system bootable will be discussed in
[f9bcaec]68 <xref linkend="ch-bootable-grub"/>.</para>
[4ae4324]69
70 </sect2>
71
72 <sect2 id="contents-gRUB" role="content">
73 <title>Contents of GRUB</title>
74
75 <segmentedlist>
76 <segtitle>Installed programs</segtitle>
[f9bcaec]77 <segtitle>Installed directories</segtitle>
[4ae4324]78
79 <seglistitem>
[2ca8941]80
[94d3eee]81 <seg> grub-bios-setup, grub-editenv, grub-fstest,
[6d53efc]82 grub-install, grub-kbdcomp, grub-menulst2cfg, grub-mkconfig,
[94d3eee]83 grub-mkimage, grub-mklayout, grub-mknetdir,
[6d53efc]84 grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone,
85 grub-ofpathname, grub-probe, grub-reboot, grub-script-check,
[94d3eee]86 grub-set-default, grub-sparc64-setup </seg>
[6d53efc]87
88 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, /boot/grub</seg>
[4ae4324]89 </seglistitem>
90 </segmentedlist>
91
92 <variablelist>
93 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94 <?dbfo list-presentation="list"?>
95 <?dbhtml list-presentation="table"?>
96
[6d53efc]97 <varlistentry id="grub-bios-setup">
98 <term><command>grub-bios-setup</command></term>
99 <listitem>
100 <para>Is a helper program for grub-install</para>
101 <indexterm zone="ch-system-grub grub-bios-setup">
102 <primary sortas="b-grub-bios-setup">grub-bios-setup</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
[f9bcaec]107 <varlistentry id="grub-editenv">
108 <term><command>grub-editenv</command></term>
109 <listitem>
110 <para>A tool to edit the environment block</para>
111 <indexterm zone="ch-system-grub grub-editenv">
112 <primary sortas="b-grub-editenv">grub-editenv</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
[3119ddc]117 <varlistentry id="grub-fstest">
118 <term><command>grub-fstest</command></term>
119 <listitem>
120 <para>Tool to debug the filesystem driver</para>
121 <indexterm zone="ch-system-grub grub-fstest">
122 <primary sortas="b-grub-fstest">grub-fstest</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
[9d42ad9]127 <varlistentry id="grub-install">
128 <term><command>grub-install</command></term>
[f9bcaec]129 <listitem>
[9d42ad9]130 <para>Install GRUB on your drive</para>
131 <indexterm zone="ch-system-grub grub-install">
132 <primary sortas="b-grub-install">grub-install</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
[3119ddc]137 <varlistentry id="grub-kbdcomp">
138 <term><command>grub-kbdcomp</command></term>
139 <listitem>
140 <para>Script that converts an xkb layout into one recognized by
141 GRUB</para>
142 <indexterm zone="ch-system-grub grub-kbdcomp">
143 <primary sortas="b-grub-kbdcomp">grub-kbdcomp</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="grub-menulst2cfg">
149 <term><command>grub-menulst2cfg</command></term>
150 <listitem>
151 <para>Converts a GRUB Legacy <filename>menu.lst</filename>
152 into a <filename>grub.cfg</filename> for use with GRUB 2</para>
153 <indexterm zone="ch-system-grub grub-menulst2cfg">
154 <primary sortas="b-grub-menulst2cfg">grub-menulst2cfg</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
[9d42ad9]159 <varlistentry id="grub-mkconfig">
160 <term><command>grub-mkconfig</command></term>
161 <listitem>
162 <para>Generate a grub config file</para>
163 <indexterm zone="ch-system-grub grub-mkconfig">
164 <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
[f9bcaec]165 </indexterm>
166 </listitem>
167 </varlistentry>
168
[3119ddc]169 <varlistentry id="grub-mkimage">
170 <term><command>grub-mkimage</command></term>
[f9bcaec]171 <listitem>
172 <para>Make a bootable image of GRUB</para>
[3119ddc]173 <indexterm zone="ch-system-grub grub-mkimage">
174 <primary sortas="b-grub-mkimage">grub-mkimage</primary>
[f9bcaec]175 </indexterm>
176 </listitem>
177 </varlistentry>
178
[3119ddc]179 <varlistentry id="grub-mklayout">
180 <term><command>grub-mklayout</command></term>
[f9bcaec]181 <listitem>
[3119ddc]182 <para>Generates a GRUB keyboard layout file</para>
183 <indexterm zone="ch-system-grub grub-mklayout">
184 <primary sortas="b-grub-mklayout">grub-mklayout</primary>
[f9bcaec]185 </indexterm>
186 </listitem>
187 </varlistentry>
188
[3119ddc]189 <varlistentry id="grub-mknetdir">
190 <term><command>grub-mknetdir</command></term>
[4ae4324]191 <listitem>
[3119ddc]192 <para>Prepares a GRUB netboot directory</para>
193 <indexterm zone="ch-system-grub grub-mknetdir">
194 <primary sortas="b-grub-mknetdir">grub-mknetdir</primary>
[4ae4324]195 </indexterm>
196 </listitem>
197 </varlistentry>
198
[9d42ad9]199 <varlistentry id="grub-mkpasswd-pbkdf2">
200 <term><command>grub-mkpasswd-pbkdf2</command></term>
[4ae4324]201 <listitem>
[9d42ad9]202 <para>Generates an encrypted PBKDF2 password for use in the boot
203 menu</para>
204 <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
205 <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
[4ae4324]206 </indexterm>
207 </listitem>
208 </varlistentry>
209
[9d42ad9]210 <varlistentry id="grub-mkrelpath">
211 <term><command>grub-mkrelpath</command></term>
[4ae4324]212 <listitem>
[9d42ad9]213 <para>Makes a system pathname relative to its root</para>
214 <indexterm zone="ch-system-grub grub-mkrelpath">
215 <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
[4ae4324]216 </indexterm>
217 </listitem>
218 </varlistentry>
219
[9d42ad9]220 <varlistentry id="grub-mkrescue">
221 <term><command>grub-mkrescue</command></term>
[8bc46a5]222 <listitem>
[501f1f24]223 <para>Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD</para>
[9d42ad9]224 <indexterm zone="ch-system-grub grub-mkrescue">
225 <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
[8bc46a5]226 </indexterm>
227 </listitem>
228 </varlistentry>
229
[6d53efc]230 <varlistentry id="grub-mkstandalone">
231 <term><command>grub-mkstandalone</command></term>
232 <listitem>
233 <para>Generates a standalone image</para>
234 <indexterm zone="ch-system-grub grub-mkstandalone">
235 <primary sortas="b-grub-mkstandalone">grub-mkstandalone</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="grub-ofpathname">
241 <term><command>grub-ofpathname</command></term>
242 <listitem>
243 <para>Is a helper program that prints the path of a GRUB device</para>
244 <indexterm zone="ch-system-grub grub-ofpathname">
245 <primary sortas="b-grub-ofpathname">grub-ofpathname</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
[f9bcaec]250 <varlistentry id="grub-probe">
251 <term><command>grub-probe</command></term>
[4ae4324]252 <listitem>
[f9bcaec]253 <para>Probe device information for a given path or device</para>
254 <indexterm zone="ch-system-grub grub-probe">
255 <primary sortas="b-grub-probe">grub-probe</primary>
[4ae4324]256 </indexterm>
257 </listitem>
258 </varlistentry>
259
[9d42ad9]260 <varlistentry id="grub-reboot">
261 <term><command>grub-reboot</command></term>
262 <listitem>
263 <para>Sets the default boot entry for GRUB for the next boot only</para>
264 <indexterm zone="ch-system-grub grub-reboot">
265 <primary sortas="b-grub-reboot">grub-reboot</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="grub-script-check">
271 <term><command>grub-script-check</command></term>
272 <listitem>
273 <para>Checks GRUB configuration script for syntax errors</para>
274 <indexterm zone="ch-system-grub grub-script-check">
275 <primary sortas="b-grub-script-check">grub-script-check</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="grub-set-default">
281 <term><command>grub-set-default</command></term>
282 <listitem>
283 <para>Sets the default boot entry for GRUB</para>
284 <indexterm zone="ch-system-grub grub-set-default">
285 <primary sortas="b-grub-set-default">grub-set-default</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
[6d53efc]290 <varlistentry id="grub-sparc64-setup">
291 <term><command>grub-sparc64-setup</command></term>
292 <listitem>
293 <para>Is a helper program for grub-setup</para>
294 <indexterm zone="ch-system-grub grub-sparc64-setup">
295 <primary sortas="b-grub-sparc64-setup">grub-setup</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
[4ae4324]300 </variablelist>
301
302 </sect2>
[673b0d8]303
304</sect1>
Note: See TracBrowser for help on using the repository browser.