source: chapter06/grub.xml@ 6d53efc

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.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 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 6d53efc was 6d53efc, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to GRUB-2.00

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

  • Property mode set to 100644
File size: 11.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-ch6-sbu;</seg>
34 <seg>&grub-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of GRUB</title>
42
43 <para>Prepare GRUB for compilation:</para>
44
45<screen><userinput remap="configure">./configure --prefix=/usr \
46 --sysconfdir=/etc \
47 --disable-grub-emu-usb \
48 --disable-efiemu</userinput></screen>
49
50 <para>The --disable switches minimize what is built by disabling features
51 and testing programs not really needed for LFS.</para>
52
53 <para>Compile the package:</para>
54
55<screen><userinput remap="make">make</userinput></screen>
56
57 <para>This package does not come with a test suite.</para>
58
59 <para>Install the package:</para>
60
61<screen><userinput remap="install">make install</userinput></screen>
62
63 <para>Using GRUB to make your LFS system bootable will be discussed in
64 <xref linkend="ch-bootable-grub"/>.</para>
65
66 </sect2>
67
68 <sect2 id="contents-gRUB" role="content">
69 <title>Contents of GRUB</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
73 <segtitle>Installed directories</segtitle>
74
75 <seglistitem>
76
77 <seg>grub-bin2h, grub-bios-setup, grub-editenv, grub-fstest,
78 grub-install, grub-kbdcomp, grub-menulst2cfg, grub-mkconfig,
79 grub-mkdevicemap, grub-mkimage, grub-mklayout, grub-mknetdir,
80 grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone,
81 grub-ofpathname, grub-probe, grub-reboot, grub-script-check,
82 grub-set-default, grub-setup, grub-sparc64-setup </seg>
83
84 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, /boot/grub</seg>
85 </seglistitem>
86 </segmentedlist>
87
88 <variablelist>
89 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
90 <?dbfo list-presentation="list"?>
91 <?dbhtml list-presentation="table"?>
92
93 <varlistentry id="grub-bin2h">
94 <term><command>grub-bin2h</command></term>
95 <listitem>
96 <para>Converts a binary file to a C header</para>
97 <indexterm zone="ch-system-grub grub-bin2h">
98 <primary sortas="b-grub-bin2h">grub-bin2h</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="grub-bios-setup">
104 <term><command>grub-bios-setup</command></term>
105 <listitem>
106 <para>Is a helper program for grub-install</para>
107 <indexterm zone="ch-system-grub grub-bios-setup">
108 <primary sortas="b-grub-bios-setup">grub-bios-setup</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="grub-editenv">
114 <term><command>grub-editenv</command></term>
115 <listitem>
116 <para>A tool to edit the environment block</para>
117 <indexterm zone="ch-system-grub grub-editenv">
118 <primary sortas="b-grub-editenv">grub-editenv</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="grub-fstest">
124 <term><command>grub-fstest</command></term>
125 <listitem>
126 <para>Tool to debug the filesystem driver</para>
127 <indexterm zone="ch-system-grub grub-fstest">
128 <primary sortas="b-grub-fstest">grub-fstest</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="grub-install">
134 <term><command>grub-install</command></term>
135 <listitem>
136 <para>Install GRUB on your drive</para>
137 <indexterm zone="ch-system-grub grub-install">
138 <primary sortas="b-grub-install">grub-install</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="grub-kbdcomp">
144 <term><command>grub-kbdcomp</command></term>
145 <listitem>
146 <para>Script that converts an xkb layout into one recognized by
147 GRUB</para>
148 <indexterm zone="ch-system-grub grub-kbdcomp">
149 <primary sortas="b-grub-kbdcomp">grub-kbdcomp</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="grub-menulst2cfg">
155 <term><command>grub-menulst2cfg</command></term>
156 <listitem>
157 <para>Converts a GRUB Legacy <filename>menu.lst</filename>
158 into a <filename>grub.cfg</filename> for use with GRUB 2</para>
159 <indexterm zone="ch-system-grub grub-menulst2cfg">
160 <primary sortas="b-grub-menulst2cfg">grub-menulst2cfg</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="grub-mkconfig">
166 <term><command>grub-mkconfig</command></term>
167 <listitem>
168 <para>Generate a grub config file</para>
169 <indexterm zone="ch-system-grub grub-mkconfig">
170 <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="grub-mkdevicemap">
176 <term><command>grub-mkdevicemap</command></term>
177 <listitem>
178 <para>Generate a device map file automatically</para>
179 <indexterm zone="ch-system-grub grub-mkdevicemap">
180 <primary sortas="b-grub-mkdevicemap">grub-mkdevicemap</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="grub-mkimage">
186 <term><command>grub-mkimage</command></term>
187 <listitem>
188 <para>Make a bootable image of GRUB</para>
189 <indexterm zone="ch-system-grub grub-mkimage">
190 <primary sortas="b-grub-mkimage">grub-mkimage</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="grub-mklayout">
196 <term><command>grub-mklayout</command></term>
197 <listitem>
198 <para>Generates a GRUB keyboard layout file</para>
199 <indexterm zone="ch-system-grub grub-mklayout">
200 <primary sortas="b-grub-mklayout">grub-mklayout</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="grub-mknetdir">
206 <term><command>grub-mknetdir</command></term>
207 <listitem>
208 <para>Prepares a GRUB netboot directory</para>
209 <indexterm zone="ch-system-grub grub-mknetdir">
210 <primary sortas="b-grub-mknetdir">grub-mknetdir</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="grub-mkpasswd-pbkdf2">
216 <term><command>grub-mkpasswd-pbkdf2</command></term>
217 <listitem>
218 <para>Generates an encrypted PBKDF2 password for use in the boot
219 menu</para>
220 <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
221 <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="grub-mkrelpath">
227 <term><command>grub-mkrelpath</command></term>
228 <listitem>
229 <para>Makes a system pathname relative to its root</para>
230 <indexterm zone="ch-system-grub grub-mkrelpath">
231 <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="grub-mkrescue">
237 <term><command>grub-mkrescue</command></term>
238 <listitem>
239 <para>Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD</para>
240 <indexterm zone="ch-system-grub grub-mkrescue">
241 <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="grub-mkstandalone">
247 <term><command>grub-mkstandalone</command></term>
248 <listitem>
249 <para>Generates a standalone image</para>
250 <indexterm zone="ch-system-grub grub-mkstandalone">
251 <primary sortas="b-grub-mkstandalone">grub-mkstandalone</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="grub-ofpathname">
257 <term><command>grub-ofpathname</command></term>
258 <listitem>
259 <para>Is a helper program that prints the path of a GRUB device</para>
260 <indexterm zone="ch-system-grub grub-ofpathname">
261 <primary sortas="b-grub-ofpathname">grub-ofpathname</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="grub-probe">
267 <term><command>grub-probe</command></term>
268 <listitem>
269 <para>Probe device information for a given path or device</para>
270 <indexterm zone="ch-system-grub grub-probe">
271 <primary sortas="b-grub-probe">grub-probe</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="grub-reboot">
277 <term><command>grub-reboot</command></term>
278 <listitem>
279 <para>Sets the default boot entry for GRUB for the next boot only</para>
280 <indexterm zone="ch-system-grub grub-reboot">
281 <primary sortas="b-grub-reboot">grub-reboot</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="grub-script-check">
287 <term><command>grub-script-check</command></term>
288 <listitem>
289 <para>Checks GRUB configuration script for syntax errors</para>
290 <indexterm zone="ch-system-grub grub-script-check">
291 <primary sortas="b-grub-script-check">grub-script-check</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="grub-set-default">
297 <term><command>grub-set-default</command></term>
298 <listitem>
299 <para>Sets the default boot entry for GRUB</para>
300 <indexterm zone="ch-system-grub grub-set-default">
301 <primary sortas="b-grub-set-default">grub-set-default</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="grub-setup">
307 <term><command>grub-setup</command></term>
308 <listitem>
309 <para>Set up images to boot from a device</para>
310 <indexterm zone="ch-system-grub grub-setup">
311 <primary sortas="b-grub-setup">grub-setup</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="grub-sparc64-setup">
317 <term><command>grub-sparc64-setup</command></term>
318 <listitem>
319 <para>Is a helper program for grub-setup</para>
320 <indexterm zone="ch-system-grub grub-sparc64-setup">
321 <primary sortas="b-grub-sparc64-setup">grub-setup</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 </variablelist>
327
328 </sect2>
329
330</sect1>
Note: See TracBrowser for help on using the repository browser.