source: chapter06/grub.xml@ f874424

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.0 7.1 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 f874424 was 483838e, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Update to GRUB-1.99

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

  • Property mode set to 100644
File size: 8.5 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 \
49 --disable-werror</userinput></screen>
50
51 <para>The --disable switches minimize what is built by disabling features
52 and testing programs not really needed for LFS.</para>
53
54 <para>Compile the package:</para>
55
56<screen><userinput remap="make">make</userinput></screen>
57
58 <para>This package does not come with a test suite.</para>
59
60 <para>Install the package:</para>
61
62<screen><userinput remap="install">make install</userinput></screen>
63
64 <para>Using GRUB to make your LFS system bootable will be discussed in
65 <xref linkend="ch-bootable-grub"/>.</para>
66
67 </sect2>
68
69 <sect2 id="contents-gRUB" role="content">
70 <title>Contents of GRUB</title>
71
72 <segmentedlist>
73 <segtitle>Installed programs</segtitle>
74 <segtitle>Installed directories</segtitle>
75
76 <seglistitem>
77 <seg>grub-bin2h, grub-editenv, grub-install, grub-mkconfig,
78 grub-mkdevicemap, grub-mkelfimage, grub-mkimage, grub-mkisofs,
79 grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-probe,
80 grub-reboot, grub-script-check, grub-set-default, grub-setup</seg>
81 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub</seg>
82 </seglistitem>
83 </segmentedlist>
84
85 <variablelist>
86 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
87 <?dbfo list-presentation="list"?>
88 <?dbhtml list-presentation="table"?>
89
90 <varlistentry id="grub-bin2h">
91 <term><command>grub-bin2h</command></term>
92 <listitem>
93 <para>Converts a binary file to a C header</para>
94 <indexterm zone="ch-system-grub grub-bin2h">
95 <primary sortas="b-grub-bin2h">grub-bin2h</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 <varlistentry id="grub-editenv">
101 <term><command>grub-editenv</command></term>
102 <listitem>
103 <para>A tool to edit the environment block</para>
104 <indexterm zone="ch-system-grub grub-editenv">
105 <primary sortas="b-grub-editenv">grub-editenv</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry id="grub-install">
111 <term><command>grub-install</command></term>
112 <listitem>
113 <para>Install GRUB on your drive</para>
114 <indexterm zone="ch-system-grub grub-install">
115 <primary sortas="b-grub-install">grub-install</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 <varlistentry id="grub-mkconfig">
121 <term><command>grub-mkconfig</command></term>
122 <listitem>
123 <para>Generate a grub config file</para>
124 <indexterm zone="ch-system-grub grub-mkconfig">
125 <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129
130 <varlistentry id="grub-mkdevicemap">
131 <term><command>grub-mkdevicemap</command></term>
132 <listitem>
133 <para>Generate a device map file automatically</para>
134 <indexterm zone="ch-system-grub grub-mkdevicemap">
135 <primary sortas="b-grub-mkdevicemap">grub-mkdevicemap</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="grub-mkelfimage">
141 <term><command>grub-mkelfimage</command></term>
142 <listitem>
143 <para>Make a bootable image of GRUB</para>
144 <indexterm zone="ch-system-grub grub-mkelfimage">
145 <primary sortas="b-grub-mkelfimage">grub-mkelfimage</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="grub-mkimage">
151 <term><command>grub-mkimage</command></term>
152 <listitem>
153 <para>Make a bootable image of GRUB</para>
154 <indexterm zone="ch-system-grub grub-mkimage">
155 <primary sortas="b-grub-mkimage">grub-mkimage</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="grub-mkisofs">
161 <term><command>grub-mkisofs</command></term>
162 <listitem>
163 <para>Creates a bootable ISO image</para>
164 <indexterm zone="ch-system-grub grub-mkisofs">
165 <primary sortas="b-grub-mkisofs">grub-mkisofs</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="grub-mkpasswd-pbkdf2">
171 <term><command>grub-mkpasswd-pbkdf2</command></term>
172 <listitem>
173 <para>Generates an encrypted PBKDF2 password for use in the boot
174 menu</para>
175 <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
176 <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="grub-mkrelpath">
182 <term><command>grub-mkrelpath</command></term>
183 <listitem>
184 <para>Makes a system pathname relative to its root</para>
185 <indexterm zone="ch-system-grub grub-mkrelpath">
186 <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="grub-mkrescue">
192 <term><command>grub-mkrescue</command></term>
193 <listitem>
194 <para>Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD</para>
195 <indexterm zone="ch-system-grub grub-mkrescue">
196 <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="grub-probe">
202 <term><command>grub-probe</command></term>
203 <listitem>
204 <para>Probe device information for a given path or device</para>
205 <indexterm zone="ch-system-grub grub-probe">
206 <primary sortas="b-grub-probe">grub-probe</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="grub-reboot">
212 <term><command>grub-reboot</command></term>
213 <listitem>
214 <para>Sets the default boot entry for GRUB for the next boot only</para>
215 <indexterm zone="ch-system-grub grub-reboot">
216 <primary sortas="b-grub-reboot">grub-reboot</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="grub-script-check">
222 <term><command>grub-script-check</command></term>
223 <listitem>
224 <para>Checks GRUB configuration script for syntax errors</para>
225 <indexterm zone="ch-system-grub grub-script-check">
226 <primary sortas="b-grub-script-check">grub-script-check</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="grub-set-default">
232 <term><command>grub-set-default</command></term>
233 <listitem>
234 <para>Sets the default boot entry for GRUB</para>
235 <indexterm zone="ch-system-grub grub-set-default">
236 <primary sortas="b-grub-set-default">grub-set-default</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="grub-setup">
242 <term><command>grub-setup</command></term>
243 <listitem>
244 <para>Set up images to boot from a device</para>
245 <indexterm zone="ch-system-grub grub-setup">
246 <primary sortas="b-grub-setup">grub-setup</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 </variablelist>
252
253 </sect2>
254
255</sect1>
Note: See TracBrowser for help on using the repository browser.