2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-01-30 18:06:48 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect1 id="ch-system-grub" xreflabel="Grub" role="wrap">
|
2004-05-03 11:59:46 +01:00
|
|
|
<title>Grub-&grub-version;</title>
|
|
|
|
<?dbhtml filename="grub.html"?>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-grub"><primary sortas="a-Grub">Grub</primary></indexterm>
|
2003-09-11 22:35:35 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="package"><title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem><seg>0.2 SBU</seg><seg>10 MB</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
</sect2>
|
2003-09-11 22:35:35 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="installation">
|
2003-11-01 22:31:50 +00:00
|
|
|
<title>Installation of Grub</title>
|
|
|
|
|
2004-06-11 16:49:18 +01:00
|
|
|
<para>Prepare Grub for compilation:</para>
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2004-06-11 16:49:18 +01:00
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2004-12-21 19:38:32 +00:00
|
|
|
<para>Now compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
2004-05-03 22:28:58 +01:00
|
|
|
<para>To test the results, issue:
|
|
|
|
<userinput>make check</userinput>.</para>
|
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<para>Now install it:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>make install
|
|
|
|
mkdir /boot/grub
|
2005-02-13 13:31:17 +00:00
|
|
|
cp /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-12-21 19:38:32 +00:00
|
|
|
<para>The <filename class="directory">i386-pc</filename> directory
|
|
|
|
contains a number of <filename>*stage1_5</filename> files, different
|
|
|
|
ones for different file systems. Review the files available and copy
|
|
|
|
the appropriate ones to the <filename
|
|
|
|
class="directory">/boot/grub</filename> directory. Most users will
|
|
|
|
copy the <filename>e2fs_stage1_5</filename> and/or
|
|
|
|
<filename>reiserfs_stage1_5</filename> files.</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
</sect2>
|
2003-09-11 22:35:35 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2004-05-17 22:55:01 +01:00
|
|
|
<sect2 id="contents-grub" role="content"><title>Contents of Grub</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-12-21 19:38:32 +00:00
|
|
|
<para>See testing</para>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
</sect1>
|