diff options
Diffstat (limited to 'chapter06/grub-inst.xml')
-rw-r--r-- | chapter06/grub-inst.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/chapter06/grub-inst.xml b/chapter06/grub-inst.xml new file mode 100644 index 000000000..de889e0d9 --- /dev/null +++ b/chapter06/grub-inst.xml @@ -0,0 +1,36 @@ +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of Grub</title> + +<para>Grub needs a patch applied that fixes a compile problem with +GCC-3.3.1:</para> + +<para><screen><userinput>patch -Np1 -i ../grub-&grub-patch-version;.patch</userinput></screen></para> + +<para>Prepare Grub for compilation:</para> + +<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> + +<para>Compile the package:</para> + +<para><screen><userinput>make</userinput></screen></para> + +<para>And install it:</para> + +<para><screen><userinput>make install +mkdir /boot/grub +cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen></para> + +<para>Replace <filename class="directory">i386-pc</filename> with whatever +directory is appropriate for your hardware.</para> + +<para>The <filename class="directory">i386-pc</filename> directory also +contains a number of <filename>*stage1_5</filename> files, different ones +for different filesystems. Have a look at the ones available and copy the +appropriate ones to the <filename class="directory">/boot/grub</filename> +directory. Most people will copy the <filename>e2fs_stage1_5</filename> +and/or <filename>reiserfs_stage1_5</filename> files.</para> + +</sect2> + |