Changeset 3f0c882 for chapter06/grub.xml
- Timestamp:
- 12/21/2004 07:38:32 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3d36131c
- Parents:
- aaa3260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/grub.xml
raaa3260 r3f0c882 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Grub package contains the GRand Unified Bootloader.</para>14 13 15 14 <segmentedlist> … … 19 18 </segmentedlist> 20 19 21 <segmentedlist>22 <segtitle>Grub installation depends on</segtitle>23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,24 GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>25 </segmentedlist>26 20 </sect2> 27 21 … … 29 23 <title>Installation of Grub</title> 30 24 31 <para>This package is known to behave badly when you have changed its default32 optimization flags (including the <parameter>-march</parameter> and33 <parameter>-mcpu</parameter> options). Therefore, if you34 have defined any environment variables that override default optimizations,35 such as CFLAGS and CXXFLAGS, we recommend un-setting them when building36 Grub.</para>37 38 25 <para>Prepare Grub for compilation:</para> 39 26 40 27 <screen><userinput>./configure --prefix=/usr</userinput></screen> 41 28 42 <para>Now compile the rest of thepackage:</para>29 <para>Now compile the package:</para> 43 30 44 31 <screen><userinput>make</userinput></screen> … … 46 33 <para>To test the results, issue: 47 34 <userinput>make check</userinput>.</para> 48 49 <para>Note that the test results will always give the error50 <quote>ufs2_stage1_5 is too big</quote>. This is due to a compiler issue,51 but can be ignored unless you plan to boot from a UFS partition, normally only52 used by Sun workstations.53 </para>54 35 55 36 <para>Now install it:</para> … … 59 40 cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen> 60 41 61 <para>Replace <filename class="directory">i386-pc</filename> with whatever 62 directory is appropriate for your hardware.</para> 63 64 <para>The <filename class="directory">i386-pc</filename> directory also 65 contains a number of <filename>*stage1_5</filename> files, different ones 66 for different file systems. Have a look at the ones available and copy the 67 appropriate ones to the <filename class="directory">/boot/grub</filename> 68 directory. Most people will copy the <filename>e2fs_stage1_5</filename> 69 and/or <filename>reiserfs_stage1_5</filename> files.</para> 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> 70 49 71 50 </sect2> … … 74 53 <sect2 id="contents-grub" role="content"><title>Contents of Grub</title> 75 54 76 <segmentedlist> 77 <segtitle>Installed programs</segtitle> 78 <seglistitem><seg>grub, grub-install, 79 grub-md5-crypt, grub-terminfo and mbchk</seg></seglistitem> 80 </segmentedlist> 81 82 <variablelist><title>Short descriptions</title> 83 84 <varlistentry id="grub"> 85 <term><command>grub</command></term> 86 <listitem> 87 <indexterm zone="ch-system-grub grub"><primary sortas="b-grub">grub</primary></indexterm> 88 <para>is the GRand Unified Bootloader's command shell.</para> 89 </listitem> 90 </varlistentry> 91 92 <varlistentry id="grub-install"> 93 <term><command>grub-install</command></term> 94 <listitem> 95 <indexterm zone="ch-system-grub grub-install"><primary sortas="b-grub-install">grub-install</primary></indexterm> 96 <para>installs GRUB on the given device.</para> 97 </listitem> 98 </varlistentry> 99 100 <varlistentry id="grub-md5-crypt"> 101 <term><command>grub-md5-crypt</command></term> 102 <listitem> 103 <indexterm zone="ch-system-grub grub-md5-crypt"><primary sortas="b-grub-md5-crypt">grub-md5-crypt</primary></indexterm> 104 <para>encrypts a password in MD5 format.</para> 105 </listitem> 106 </varlistentry> 107 108 <varlistentry id="grub-terminfo"> 109 <term><command>grub-terminfo</command></term> 110 <listitem> 111 <indexterm zone="ch-system-grub grub-terminfo"><primary sortas="b-grub-terminfo">grub-terminfo</primary></indexterm> 112 <para>generates a terminfo command from a 113 terminfo name. It can be used if you have an uncommon terminal.</para> 114 </listitem> 115 </varlistentry> 116 117 <varlistentry id="mbchk"> 118 <term><command>mbchk</command></term> 119 <listitem> 120 <indexterm zone="ch-system-grub mbchk"><primary sortas="b-mbchk">mbchk</primary></indexterm> 121 <para>checks the format of a multi-boot kernel.</para> 122 </listitem> 123 </varlistentry> 124 </variablelist> 55 <para>See testing</para> 125 56 126 57 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.