source: chapter06/grub.xml@ 9879b5d

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 9879b5d was 8aad4385, checked in by Matthew Burgess <matthew@…>, 13 years ago

Upgrade to GCC-4.6.0. Fixes #2847.

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