[673b0d8] | 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 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-grub" xreflabel="Grub" role="wrap">
|
---|
[673b0d8] | 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>
|
---|
[955533b] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 |
|
---|
[a001133] | 14 | <segmentedlist>
|
---|
| 15 | <segtitle>&buildtime;</segtitle>
|
---|
| 16 | <segtitle>&diskspace;</segtitle>
|
---|
| 17 | <seglistitem><seg>0.2 SBU</seg><seg>10 MB</seg></seglistitem>
|
---|
| 18 | </segmentedlist>
|
---|
[673b0d8] | 19 |
|
---|
[a001133] | 20 | </sect2>
|
---|
[955533b] | 21 |
|
---|
[a001133] | 22 | <sect2 role="installation">
|
---|
[73aedd1d] | 23 | <title>Installation of Grub</title>
|
---|
| 24 |
|
---|
[0fa9275] | 25 | <para>Prepare Grub for compilation:</para>
|
---|
[9dfc02f] | 26 |
|
---|
[0fa9275] | 27 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[9dfc02f] | 28 |
|
---|
[3f0c882] | 29 | <para>Now compile the package:</para>
|
---|
[73aedd1d] | 30 |
|
---|
| 31 | <screen><userinput>make</userinput></screen>
|
---|
| 32 |
|
---|
[9dfc02f] | 33 | <para>To test the results, issue:
|
---|
| 34 | <userinput>make check</userinput>.</para>
|
---|
| 35 |
|
---|
[673b0d8] | 36 | <para>Now install it:</para>
|
---|
[73aedd1d] | 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 |
|
---|
[3f0c882] | 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>
|
---|
[73aedd1d] | 49 |
|
---|
| 50 | </sect2>
|
---|
[955533b] | 51 |
|
---|
[5888299] | 52 |
|
---|
[c6cb3aa] | 53 | <sect2 id="contents-grub" role="content"><title>Contents of Grub</title>
|
---|
[673b0d8] | 54 |
|
---|
[3f0c882] | 55 | <para>See testing</para>
|
---|
[673b0d8] | 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 | </sect1>
|
---|