source: chapter08/grub.xml@ e9d65f2f

11.2 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng 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 e9d65f2f was e9d65f2f, checked in by Xi Ruoyao <xry111@…>, 20 months ago

grub: update description for grub-glue-efi

Text only change.

Found out this utility also exists on ARM, so copied "grub-glue-efi
--help" here, which does not mention "ia32" or "amd64".

  • Property mode set to 100644
File size: 13.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-grub" role="wrap">
9 <?dbhtml filename="grub.html"?>
10
11 <sect1info condition="script">
12 <productname>grub</productname>
13 <productnumber>&grub-version;</productnumber>
14 <address>&grub-url;</address>
15 </sect1info>
16
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/>
25
26 <para>The GRUB package contains the GRand Unified Bootloader.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&grub-fin-sbu;</seg>
34 <seg>&grub-fin-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of GRUB</title>
42
43 <note>
44 <para>
45 If your system has UEFI support and you wish to boot LFS with UEFI,
46 you can skip this package in LFS,
47 and install GRUB with UEFI support (and its dependencies) following
48 <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>
49 at the end of this chapter.
50 </para>
51 </note>
52
53 <para>Prepare GRUB for compilation:</para>
54
55<screen><userinput remap="configure">./configure --prefix=/usr \
56 --sysconfdir=/etc \
57 --disable-efiemu \
58 --disable-werror</userinput></screen>
59
60 <variablelist>
61 <title>The meaning of the new configure options:</title>
62
63 <varlistentry>
64 <term><parameter>--disable-werror</parameter></term>
65 <listitem>
66 <para>This allows the build to complete with warnings introduced
67 by more recent Flex versions.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term><parameter>--disable-efiemu</parameter></term>
73 <listitem>
74 <para>This option minimizes what is built by disabling a feature and
75 testing programs not needed for LFS.</para>
76 </listitem>
77 </varlistentry>
78
79 </variablelist>
80
81 <para>Compile the package:</para>
82
83<screen><userinput remap="make">make</userinput></screen>
84
85 <para>The test suite for this packages is not recommended. Most of
86 the tests depend on packages that are not available in the limited
87 LFS environment. To run the tests anyway, run <command>make check</command>.</para>
88
89 <para>Install the package:</para>
90
91<screen><userinput remap="install">make install
92mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions</userinput></screen>
93
94 <para>Using GRUB to make your LFS system bootable will be discussed in
95 <xref linkend="ch-bootable-grub"/>.</para>
96
97 </sect2>
98
99 <sect2 id="contents-gRUB" role="content">
100 <title>Contents of GRUB</title>
101
102 <segmentedlist>
103 <segtitle>Installed programs</segtitle>
104 <segtitle>Installed directories</segtitle>
105
106 <seglistitem>
107
108 <seg>grub-bios-setup, grub-editenv, grub-file, grub-fstest,
109 grub-glue-efi, grub-install, grub-kbdcomp, grub-macbless,
110 grub-menulst2cfg, grub-mkconfig,
111 grub-mkimage, grub-mklayout, grub-mknetdir,
112 grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone,
113 grub-ofpathname, grub-probe, grub-reboot, grub-render-label,
114 grub-script-check,
115 grub-set-default, grub-sparc64-setup, and grub-syslinux2cfg</seg>
116
117 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, and /boot/grub (when grub-install
118 is first run)</seg>
119 </seglistitem>
120 </segmentedlist>
121
122 <variablelist>
123 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
124 <?dbfo list-presentation="list"?>
125 <?dbhtml list-presentation="table"?>
126
127 <varlistentry id="grub-bios-setup">
128 <term><command>grub-bios-setup</command></term>
129 <listitem>
130 <para>Is a helper program for grub-install</para>
131 <indexterm zone="ch-system-grub grub-bios-setup">
132 <primary sortas="b-grub-bios-setup">grub-bios-setup</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="grub-editenv">
138 <term><command>grub-editenv</command></term>
139 <listitem>
140 <para>A tool to edit the environment block</para>
141 <indexterm zone="ch-system-grub grub-editenv">
142 <primary sortas="b-grub-editenv">grub-editenv</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="grub-file">
148 <term><command>grub-file</command></term>
149 <listitem>
150 <para>Checks if FILE is of the specified type.</para>
151 <indexterm zone="ch-system-grub grub-file">
152 <primary sortas="b-grub-file">grub-file</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="grub-fstest">
158 <term><command>grub-fstest</command></term>
159 <listitem>
160 <para>Tool to debug the filesystem driver</para>
161 <indexterm zone="ch-system-grub grub-fstest">
162 <primary sortas="b-grub-fstest">grub-fstest</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="grub-glue-efi">
168 <term><command>grub-glue-efi</command></term>
169 <listitem>
170 <para>Glue 32-bit and 64-bit binary into Apple universal one.</para>
171 <indexterm zone="ch-system-grub grub-glue-efi">
172 <primary sortas="b-grub-glue-efi">grub-glue-efi</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="grub-install">
178 <term><command>grub-install</command></term>
179 <listitem>
180 <para>Install GRUB on your drive</para>
181 <indexterm zone="ch-system-grub grub-install">
182 <primary sortas="b-grub-install">grub-install</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="grub-kbdcomp">
188 <term><command>grub-kbdcomp</command></term>
189 <listitem>
190 <para>Script that converts an xkb layout into one recognized by
191 GRUB</para>
192 <indexterm zone="ch-system-grub grub-kbdcomp">
193 <primary sortas="b-grub-kbdcomp">grub-kbdcomp</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="grub-macbless">
199 <term><command>grub-macbless</command></term>
200 <listitem>
201 <para>Mac-style bless on HFS or HFS+ files</para>
202 <indexterm zone="ch-system-grub grub-macbless">
203 <primary sortas="b-grub-macbless">grub-macbless</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="grub-menulst2cfg">
209 <term><command>grub-menulst2cfg</command></term>
210 <listitem>
211 <para>Converts a GRUB Legacy <filename>menu.lst</filename>
212 into a <filename>grub.cfg</filename> for use with GRUB 2</para>
213 <indexterm zone="ch-system-grub grub-menulst2cfg">
214 <primary sortas="b-grub-menulst2cfg">grub-menulst2cfg</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="grub-mkconfig">
220 <term><command>grub-mkconfig</command></term>
221 <listitem>
222 <para>Generate a grub config file</para>
223 <indexterm zone="ch-system-grub grub-mkconfig">
224 <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="grub-mkimage">
230 <term><command>grub-mkimage</command></term>
231 <listitem>
232 <para>Make a bootable image of GRUB</para>
233 <indexterm zone="ch-system-grub grub-mkimage">
234 <primary sortas="b-grub-mkimage">grub-mkimage</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="grub-mklayout">
240 <term><command>grub-mklayout</command></term>
241 <listitem>
242 <para>Generates a GRUB keyboard layout file</para>
243 <indexterm zone="ch-system-grub grub-mklayout">
244 <primary sortas="b-grub-mklayout">grub-mklayout</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="grub-mknetdir">
250 <term><command>grub-mknetdir</command></term>
251 <listitem>
252 <para>Prepares a GRUB netboot directory</para>
253 <indexterm zone="ch-system-grub grub-mknetdir">
254 <primary sortas="b-grub-mknetdir">grub-mknetdir</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="grub-mkpasswd-pbkdf2">
260 <term><command>grub-mkpasswd-pbkdf2</command></term>
261 <listitem>
262 <para>Generates an encrypted PBKDF2 password for use in the boot
263 menu</para>
264 <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
265 <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="grub-mkrelpath">
271 <term><command>grub-mkrelpath</command></term>
272 <listitem>
273 <para>Makes a system pathname relative to its root</para>
274 <indexterm zone="ch-system-grub grub-mkrelpath">
275 <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="grub-mkrescue">
281 <term><command>grub-mkrescue</command></term>
282 <listitem>
283 <para>Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD</para>
284 <indexterm zone="ch-system-grub grub-mkrescue">
285 <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="grub-mkstandalone">
291 <term><command>grub-mkstandalone</command></term>
292 <listitem>
293 <para>Generates a standalone image</para>
294 <indexterm zone="ch-system-grub grub-mkstandalone">
295 <primary sortas="b-grub-mkstandalone">grub-mkstandalone</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="grub-ofpathname">
301 <term><command>grub-ofpathname</command></term>
302 <listitem>
303 <para>Is a helper program that prints the path of a GRUB device</para>
304 <indexterm zone="ch-system-grub grub-ofpathname">
305 <primary sortas="b-grub-ofpathname">grub-ofpathname</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="grub-probe">
311 <term><command>grub-probe</command></term>
312 <listitem>
313 <para>Probe device information for a given path or device</para>
314 <indexterm zone="ch-system-grub grub-probe">
315 <primary sortas="b-grub-probe">grub-probe</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="grub-reboot">
321 <term><command>grub-reboot</command></term>
322 <listitem>
323 <para>Sets the default boot entry for GRUB for the next boot only</para>
324 <indexterm zone="ch-system-grub grub-reboot">
325 <primary sortas="b-grub-reboot">grub-reboot</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="grub-render-label">
331 <term><command>grub-render-label</command></term>
332 <listitem>
333 <para>Render Apple .disk_label for Apple Macs</para>
334 <indexterm zone="ch-system-grub grub-render-label">
335 <primary sortas="b-grub-render-label">grub-render-label</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="grub-script-check">
341 <term><command>grub-script-check</command></term>
342 <listitem>
343 <para>Checks GRUB configuration script for syntax errors</para>
344 <indexterm zone="ch-system-grub grub-script-check">
345 <primary sortas="b-grub-script-check">grub-script-check</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="grub-set-default">
351 <term><command>grub-set-default</command></term>
352 <listitem>
353 <para>Sets the default boot entry for GRUB</para>
354 <indexterm zone="ch-system-grub grub-set-default">
355 <primary sortas="b-grub-set-default">grub-set-default</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="grub-sparc64-setup">
361 <term><command>grub-sparc64-setup</command></term>
362 <listitem>
363 <para>Is a helper program for grub-setup</para>
364 <indexterm zone="ch-system-grub grub-sparc64-setup">
365 <primary sortas="b-grub-sparc64-setup">grub-setup</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="grub-syslinux2cfg">
371 <term><command>grub-syslinux2cfg</command></term>
372 <listitem>
373 <para>Transform a syslinux config file into grub.cfg format</para>
374 <indexterm zone="ch-system-grub grub-syslinux2cfg">
375 <primary sortas="b-grub-syslinux2cfg">grub-syslinux2cfg</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 </variablelist>
381
382 </sect2>
383
384</sect1>
Note: See TracBrowser for help on using the repository browser.