1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-grub" xreflabel="Grub" role="wrap">
|
---|
7 | <title>Grub-&grub-version;</title>
|
---|
8 | <?dbhtml filename="grub.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-grub"><primary sortas="a-Grub">Grub</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 |
|
---|
14 | <segmentedlist>
|
---|
15 | <segtitle>&buildtime;</segtitle>
|
---|
16 | <segtitle>&diskspace;</segtitle>
|
---|
17 | <seglistitem><seg>0.2 SBU</seg><seg>10 MB</seg></seglistitem>
|
---|
18 | </segmentedlist>
|
---|
19 |
|
---|
20 | </sect2>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of Grub</title>
|
---|
24 |
|
---|
25 | <para>Prepare Grub for compilation:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
28 |
|
---|
29 | <para>Now compile the package:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>make</userinput></screen>
|
---|
32 |
|
---|
33 | <para>To test the results, issue:
|
---|
34 | <userinput>make check</userinput>.</para>
|
---|
35 |
|
---|
36 | <para>Now install it:</para>
|
---|
37 |
|
---|
38 | <screen><userinput>make install
|
---|
39 | mkdir /boot/grub
|
---|
40 | cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
|
---|
41 |
|
---|
42 | <para>The <filename class="directory">i386-pc</filename> directory
|
---|
43 | contains a number of <filename>*stage1_5</filename> files, different
|
---|
44 | ones for different file systems. Review the files available and copy
|
---|
45 | the appropriate ones to the <filename
|
---|
46 | class="directory">/boot/grub</filename> directory. Most users will
|
---|
47 | copy the <filename>e2fs_stage1_5</filename> and/or
|
---|
48 | <filename>reiserfs_stage1_5</filename> files.</para>
|
---|
49 |
|
---|
50 | </sect2>
|
---|
51 |
|
---|
52 |
|
---|
53 | <sect2 id="contents-grub" role="content"><title>Contents of Grub</title>
|
---|
54 |
|
---|
55 | <para>See testing</para>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 |
|
---|
60 | </sect1>
|
---|