source: final-system/x86/grub.xml@ eadbe27

Last change on this file since eadbe27 was 53f5896, checked in by Jim Gifford <clfs@…>, 19 years ago

r3775@server (orig r1706): ken | 2006-05-31 05:11:21 -0700
Correct a tag so that it renders.

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7<sect1 id="ch-system-grub" role="wrap">
8 <?dbhtml filename="grub.html"?>
9
10 <title>GRUB-&grub-version;</title>
11
12 <indexterm zone="ch-system-grub">
13 <primary sortas="a-GRUB">GRUB</primary>
14 </indexterm>
15
16 <sect2 role="package">
17 <title/>
18
19 <para>The GRUB package contains the GRand Unified Bootloader.</para>
20
21 </sect2>
22
23 <sect2 role="installation">
24 <title>Installation of GRUB</title>
25
26 <para os="p1">GRUB has an issue where it sometimes doesn't detect
27 the disk geometry correctly when used with Linux 2.6. This results
28 in the error message <literal>Error 24: Attempt to access block outside
29 partition</literal>. The following patch fixes this issue:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&grub-disk-patch;</userinput></screen>
32
33 <para os="a">This package is known to have issues when its default optimization
34 flags (including the <option>-march</option> and <option>-mcpu</option>
35 options) are changed. If any environment variables that override default
36 optimizations have been defined, such as <envar>CFLAGS</envar> and
37 <envar>CXXFLAGS</envar>, unset them when building GRUB.</para>
38
39 <para os="b">Prepare GRUB for compilation:</para>
40
41<screen><userinput>./configure --prefix=/usr</userinput></screen>
42
43 <para os="c">Compile the package:</para>
44
45<screen os="d"><userinput>make</userinput></screen>
46
47 <para os="e">To test the results, issue:
48 <userinput>make check</userinput>.</para>
49
50 <para os="f">Install the package:</para>
51
52<screen os="g"><userinput>make install
53mkdir -v /boot/grub
54cp -v /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
55
56 <para os="h">Replace <filename class="directory">i386-pc</filename> with whatever
57 directory is appropriate for the hardware in use.</para>
58
59 <para os="i">The <filename class="directory">i386-pc</filename> directory
60 contains a number of <filename>*stage1_5</filename> files, different
61 ones for different file systems. Review the files available and copy
62 the appropriate ones to the <filename
63 class="directory">/boot/grub</filename> directory. Most users will
64 copy the <filename>e2fs_stage1_5</filename> and/or
65 <filename>reiserfs_stage1_5</filename> files.</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
75 <seglistitem>
76 <seg>grub, grub-install, grub-md5-crypt, grub-terminfo, and mbchk</seg>
77 </seglistitem>
78 </segmentedlist>
79
80 <variablelist>
81 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
82 <?dbfo list-presentation="list"?>
83 <?dbhtml list-presentation="table"?>
84
85 <varlistentry id="grub">
86 <term><command>grub</command></term>
87 <listitem>
88 <para>The Grand Unified Bootloader's command shell</para>
89 <indexterm zone="ch-system-grub grub">
90 <primary sortas="b-grub">grub</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="grub-install">
96 <term><command>grub-install</command></term>
97 <listitem>
98 <para>Installs GRUB on the given device</para>
99 <indexterm zone="ch-system-grub grub-install">
100 <primary sortas="b-grub-install">grub-install</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="grub-md5-crypt">
106 <term><command>grub-md5-crypt</command></term>
107 <listitem>
108 <para>Encrypts a password in MD5 format</para>
109 <indexterm zone="ch-system-grub grub-md5-crypt">
110 <primary sortas="b-grub-md5-crypt">grub-md5-crypt</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="grub-terminfo">
116 <term><command>grub-terminfo</command></term>
117 <listitem>
118 <para>Generates a terminfo command from a terminfo name; it can be
119 employed if an unknown terminal is being used</para>
120 <indexterm zone="ch-system-grub grub-terminfo">
121 <primary sortas="b-grub-terminfo">grub-terminfo</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry id="mbchk">
127 <term><command>mbchk</command></term>
128 <listitem>
129 <para>Checks the format of a multi-boot kernel</para>
130 <indexterm zone="ch-system-grub mbchk">
131 <primary sortas="b-mbchk">mbchk</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 </variablelist>
137
138 </sect2>
139
140</sect1>
Note: See TracBrowser for help on using the repository browser.