| 123456789101112131415161718192021222324252627282930313233343536 | <sect2><title> </title><para> </para></sect2><sect2><title>Installation of Grub</title><para>Grub needs a patch applied that fixes a compile problem withGCC-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 installmkdir /boot/grubcp /usr/share/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen></para><para>Replace <filename class="directory">i386-pc</filename> with whateverdirectory is appropriate for your hardware.</para><para>The <filename class="directory">i386-pc</filename> directory alsocontains a number of <filename>*stage1_5</filename> files, different onesfor different filesystems. Have a look at the ones available and copy theappropriate 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>
 |