source: chapter06/grub.xml@ 2be021c

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.5 7.6 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 2be021c was 2ca8941, checked in by Matthew Burgess <matthew@…>, 11 years ago

Remove trailing whitespace from all files.

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

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