Rev 1344 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
475 | gleu | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
591 | gleu | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
||
475 | gleu | 4 | <!ENTITY % general-entities SYSTEM "../general.ent"> |
5 | %general-entities; |
||
6 | ]> |
||
591 | gleu | 7 | |
523 | gleu | 8 | <sect1 id="ch-system-grub" role="wrap"> |
591 | gleu | 9 | <?dbhtml filename="grub.html"?> |
423 | guillaume | 10 | |
602 | texou | 11 | <sect1info condition="script"> |
12 | <productname>grub</productname> |
||
13 | <productnumber>&grub-version;</productnumber> |
||
14 | <address>&grub-url;</address> |
||
15 | </sect1info> |
||
16 | |||
591 | gleu | 17 | <title>GRUB-&grub-version;</title> |
423 | guillaume | 18 | |
591 | gleu | 19 | <indexterm zone="ch-system-grub"> |
20 | <primary sortas="a-Grub">GRUB</primary> |
||
21 | </indexterm> |
||
423 | guillaume | 22 | |
591 | gleu | 23 | <sect2 role="package"> |
24 | <title/> |
||
439 | guillaume | 25 | |
1235 | jmengual | 26 | <para>Le paquet GRUB contient un chargeur de démarrage, le |
591 | gleu | 27 | <foreignphrase>GRand Unified Bootloader</foreignphrase>.</para> |
439 | guillaume | 28 | |
591 | gleu | 29 | <segmentedlist> |
30 | <segtitle>&buildtime;</segtitle> |
||
31 | <segtitle>&diskspace;</segtitle> |
||
439 | guillaume | 32 | |
591 | gleu | 33 | <seglistitem> |
34 | <seg>&grub-ch6-sbu;</seg> |
||
35 | <seg>&grub-ch6-du;</seg> |
||
36 | </seglistitem> |
||
37 | </segmentedlist> |
||
439 | guillaume | 38 | |
591 | gleu | 39 | </sect2> |
475 | gleu | 40 | |
591 | gleu | 41 | <sect2 role="installation"> |
42 | <title>Installation de GRUB</title> |
||
43 | |||
1023 | jmengual | 44 | <para>Préparez la compilation de GRUB :</para> |
591 | gleu | 45 | |
1347 | jmengual | 46 | <screen><userinput remap="configure">CC="gcc -no-fatal-warnings -nopie" LDFLAGS="-pie" ./configure --prefix=/usr \ |
47 | --sysconfdir=/etc --disable-grub-emu-usb \ |
||
48 | --disable-grub-fstest --disable-efiemu</userinput></screen> |
||
591 | gleu | 49 | |
1347 | jmengual | 50 | <para>L'option -no-fatal-warnings est nécessaire pour certains tests du |
51 | script <filename>configure</filename>. L'option -nopie est nécessaire lors de |
||
52 | la construction des modules Grub. L'option -pie est ajouté lors de l'édition |
||
53 | des liens des programmes de Grub.</para> |
||
54 | |||
1141 | jmengual | 55 | <para>Les paramètres --disable minimisent ce qui sera construit |
56 | en désactivant des fonctionnalités et des programmes de test pas vraiment nécessaires |
||
57 | pour LFS.</para> |
||
1235 | jmengual | 58 | |
59 | <para>Compilez le paquet :</para> |
||
591 | gleu | 60 | |
1235 | jmengual | 61 | <screen><userinput remap="make">make</userinput></screen> |
62 | |||
1026 | jmengual | 63 | <para>Ce paquet n'est pas fourni avec une suite de tests.</para> |
591 | gleu | 64 | |
65 | <para>Installez le paquet :</para> |
||
523 | gleu | 66 | |
1023 | jmengual | 67 | <screen><userinput remap="install">make install</userinput></screen> |
439 | guillaume | 68 | |
1026 | jmengual | 69 | <para>L'utilisation de GRUB pour rendre un système LFS amorçable sera traitée au |
1023 | jmengual | 70 | <xref linkend="ch-bootable-grub"/>.</para> |
439 | guillaume | 71 | |
591 | gleu | 72 | </sect2> |
475 | gleu | 73 | |
591 | gleu | 74 | <sect2 id="contents-gRUB" role="content"> |
75 | <title>Contenu de GRUB</title> |
||
475 | gleu | 76 | |
591 | gleu | 77 | <segmentedlist> |
78 | <segtitle>Programmes installés</segtitle> |
||
1023 | jmengual | 79 | <segtitle>Répertoires installés</segtitle> |
475 | gleu | 80 | |
591 | gleu | 81 | <seglistitem> |
1173 | jmengual | 82 | <seg>grub-bin2h, grub-editenv, grub-install, grub-mkconfig, |
83 | grub-mkdevicemap, grub-mkelfimage, grub-mkimage, grub-mkisofs, |
||
84 | grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-probe, |
||
85 | grub-reboot, grub-script-check, grub-set-default, grub-setup</seg> |
||
1162 | jmengual | 86 | <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub</seg> |
591 | gleu | 87 | </seglistitem> |
88 | </segmentedlist> |
||
475 | gleu | 89 | |
591 | gleu | 90 | <variablelist> |
91 | <bridgehead renderas="sect3">Descriptions courtes</bridgehead> |
||
92 | <?dbfo list-presentation="list"?> |
||
93 | <?dbhtml list-presentation="table"?> |
||
475 | gleu | 94 | |
1173 | jmengual | 95 | <varlistentry id="grub-bin2h"> |
96 | <term><command>grub-bin2h</command></term> |
||
97 | <listitem> |
||
98 | <para>Convertit un fichier binaire en en-tête C</para> |
||
99 | <indexterm zone="ch-system-grub grub-bin2h"> |
||
100 | <primary sortas="b-grub-bin2h">grub-bin2h</primary> |
||
101 | </indexterm> |
||
102 | </listitem> |
||
103 | </varlistentry> |
||
104 | |||
1023 | jmengual | 105 | <varlistentry id="grub-editenv"> |
106 | <term><command>grub-editenv</command></term> |
||
591 | gleu | 107 | <listitem> |
1023 | jmengual | 108 | <para>Un outil pour éditer l'ensemble d'environnement</para> |
109 | <indexterm zone="ch-system-grub grub-editenv"> |
||
110 | <primary sortas="b-grub-editenv">grub-editenv</primary> |
||
1173 | jmengual | 111 | </indexterm> |
112 | </listitem> |
||
113 | </varlistentry> |
||
1023 | jmengual | 114 | |
1173 | jmengual | 115 | <varlistentry id="grub-install"> |
116 | <term><command>grub-install</command></term> |
||
117 | <listitem> |
||
118 | <para>Installe GRUB sur votre lecteur</para> |
||
119 | <indexterm zone="ch-system-grub grub-install"> |
||
120 | <primary sortas="b-grub-install">grub-install</primary> |
||
121 | </indexterm> |
||
122 | </listitem> |
||
123 | </varlistentry> |
||
124 | |||
125 | <varlistentry id="grub-mkconfig"> |
||
126 | <term><command>grub-mkconfig</command></term> |
||
127 | <listitem> |
||
128 | <para>Génère un fichier de configuration grub</para> |
||
129 | <indexterm zone="ch-system-grub grub-mkconfig"> |
||
130 | <primary sortas="b-grub-mkconfig">grub-mkconfig</primary> |
||
591 | gleu | 131 | </indexterm> |
132 | </listitem> |
||
133 | </varlistentry> |
||
475 | gleu | 134 | |
1173 | jmengual | 135 | <varlistentry id="grub-mkdevicemap"> |
136 | <term><command>grub-mkdevicemap</command></term> |
||
137 | <listitem> |
||
138 | <para>Génère automatiquement un fichier de plan de périphériques</para> |
||
139 | <indexterm zone="ch-system-grub grub-mkdevicemap"> |
||
140 | <primary sortas="b-grub-mkdevicemap">grub-mkdevicemap</primary> |
||
141 | </indexterm> |
||
142 | </listitem> |
||
143 | </varlistentry> |
||
144 | |||
1023 | jmengual | 145 | <varlistentry id="grub-mkelfimage"> |
146 | <term><command>grub-mkelfimage</command></term> |
||
591 | gleu | 147 | <listitem> |
1023 | jmengual | 148 | <para>Crée une image amorçable de GRUB</para> |
149 | <indexterm zone="ch-system-grub grub-mkelfimage"> |
||
150 | <primary sortas="b-grub-mkelfimage">grub-mkelfimage</primary> |
||
591 | gleu | 151 | </indexterm> |
152 | </listitem> |
||
153 | </varlistentry> |
||
475 | gleu | 154 | |
1023 | jmengual | 155 | <varlistentry id="grub-mkimage"> |
156 | <term><command>grub-mkimage</command></term> |
||
591 | gleu | 157 | <listitem> |
1023 | jmengual | 158 | <para>Fabrique une image amorçable de GRUB</para> |
159 | <indexterm zone="ch-system-grub grub-mkimage"> |
||
160 | <primary sortas="b-grub-mkimage">grub-mkimage</primary> |
||
591 | gleu | 161 | </indexterm> |
162 | </listitem> |
||
163 | </varlistentry> |
||
475 | gleu | 164 | |
1173 | jmengual | 165 | <varlistentry id="grub-mkisofs"> |
166 | <term><command>grub-mkisofs</command></term> |
||
591 | gleu | 167 | <listitem> |
1173 | jmengual | 168 | <para>Crée une image ISO amorçable</para> |
169 | <indexterm zone="ch-system-grub grub-mkisofs"> |
||
170 | <primary sortas="b-grub-mkisofs">grub-mkisofs</primary> |
||
591 | gleu | 171 | </indexterm> |
172 | </listitem> |
||
173 | </varlistentry> |
||
174 | |||
1173 | jmengual | 175 | <varlistentry id="grub-mkpasswd-pbkdf2"> |
176 | <term><command>grub-mkpasswd-pbkdf2</command></term> |
||
591 | gleu | 177 | <listitem> |
1173 | jmengual | 178 | <para>Génère un mot de passe PBKDF2 chiffré pour une utilisation |
179 | dans le menu de démarrage</para> |
||
180 | <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2"> |
||
181 | <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary> |
||
591 | gleu | 182 | </indexterm> |
183 | </listitem> |
||
184 | </varlistentry> |
||
185 | |||
1173 | jmengual | 186 | <varlistentry id="grub-mkrelpath"> |
187 | <term><command>grub-mkrelpath</command></term> |
||
1023 | jmengual | 188 | <listitem> |
1173 | jmengual | 189 | <para>Rend relatif le nom de chemin vers la racine d'un système</para> |
190 | <indexterm zone="ch-system-grub grub-mkrelpath"> |
||
191 | <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary> |
||
1023 | jmengual | 192 | </indexterm> |
193 | </listitem> |
||
194 | </varlistentry> |
||
195 | |||
1173 | jmengual | 196 | <varlistentry id="grub-mkrescue"> |
197 | <term><command>grub-mkrescue</command></term> |
||
1023 | jmengual | 198 | <listitem> |
1173 | jmengual | 199 | <para>Fabrique une image amorçable de GRUB adaptée à une disquette</para> |
200 | <indexterm zone="ch-system-grub grub-mkrescue"> |
||
201 | <primary sortas="b-grub-mkrescue">grub-mkrescue</primary> |
||
1023 | jmengual | 202 | </indexterm> |
203 | </listitem> |
||
204 | </varlistentry> |
||
205 | |||
206 | <varlistentry id="grub-probe"> |
||
207 | <term><command>grub-probe</command></term> |
||
208 | <listitem> |
||
209 | <para>Teste les informations de périphérique pour un chemin ou un périphérique donné</para> |
||
210 | <indexterm zone="ch-system-grub grub-probe"> |
||
211 | <primary sortas="b-grub-probe">grub-probe</primary> |
||
212 | </indexterm> |
||
213 | </listitem> |
||
214 | </varlistentry> |
||
215 | |||
1173 | jmengual | 216 | <varlistentry id="grub-reboot"> |
217 | <term><command>grub-reboot</command></term> |
||
218 | <listitem> |
||
219 | <para>Règle l'entrée d'amorçage par défaut pour GRUB uniquement pour le prochain |
||
220 | démarrage</para> |
||
221 | <indexterm zone="ch-system-grub grub-reboot"> |
||
222 | <primary sortas="b-grub-reboot">grub-reboot</primary> |
||
223 | </indexterm> |
||
224 | </listitem> |
||
225 | </varlistentry> |
||
226 | |||
227 | <varlistentry id="grub-script-check"> |
||
228 | <term><command>grub-script-check</command></term> |
||
229 | <listitem> |
||
230 | <para>Vérifie les erreurs de syntaxe du script de configuration de |
||
231 | GRUB</para> |
||
232 | <indexterm zone="ch-system-grub grub-script-check"> |
||
233 | <primary sortas="b-grub-script-check">grub-script-check</primary> |
||
234 | </indexterm> |
||
235 | </listitem> |
||
236 | </varlistentry> |
||
237 | |||
238 | <varlistentry id="grub-set-default"> |
||
239 | <term><command>grub-set-default</command></term> |
||
240 | <listitem> |
||
241 | <para>Règle l'entrée d'amorçage par défaut pour GRUB</para> |
||
242 | <indexterm zone="ch-system-grub grub-set-default"> |
||
243 | <primary sortas="b-grub-set-default">grub-set-default</primary> |
||
244 | </indexterm> |
||
245 | </listitem> |
||
246 | </varlistentry> |
||
247 | |||
1023 | jmengual | 248 | <varlistentry id="grub-setup"> |
249 | <term><command>grub-setup</command></term> |
||
250 | <listitem> |
||
251 | <para>Paramètre les images pour démarrer à partir d'un périphérique</para> |
||
252 | <indexterm zone="ch-system-grub grub-setup"> |
||
253 | <primary sortas="b-grub-setup">grub-setup</primary> |
||
254 | </indexterm> |
||
255 | </listitem> |
||
256 | </varlistentry> |
||
257 | |||
591 | gleu | 258 | </variablelist> |
259 | |||
260 | </sect2> |
||
261 | |||
423 | guillaume | 262 | </sect1> |