grub.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/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. <indexterm zone="ch-system-grub"><primary sortas="a-Grub">Grub</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <segmentedlist>
  12. <segtitle>&buildtime;</segtitle>
  13. <segtitle>&diskspace;</segtitle>
  14. <seglistitem><seg>0.2 SBU</seg><seg>10 MB</seg></seglistitem>
  15. </segmentedlist>
  16. </sect2>
  17. <sect2 role="installation">
  18. <title>Installation of Grub</title>
  19. <para>Prepare Grub for compilation:</para>
  20. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  21. <para>Now compile the package:</para>
  22. <screen><userinput>make</userinput></screen>
  23. <para>To test the results, issue:
  24. <userinput>make check</userinput>.</para>
  25. <para>Now install it:</para>
  26. <screen><userinput>make install
  27. mkdir /boot/grub
  28. cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
  29. <para>The <filename class="directory">i386-pc</filename> directory
  30. contains a number of <filename>*stage1_5</filename> files, different
  31. ones for different file systems. Review the files available and copy
  32. the appropriate ones to the <filename
  33. class="directory">/boot/grub</filename> directory. Most users will
  34. copy the <filename>e2fs_stage1_5</filename> and/or
  35. <filename>reiserfs_stage1_5</filename> files.</para>
  36. </sect2>
  37. <sect2 id="contents-grub" role="content"><title>Contents of Grub</title>
  38. <para>See testing</para>
  39. </sect2>
  40. </sect1>