Changeset 81fd230 for chapter06/grub.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 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, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3d31fc4
- Parents:
- 2f9131f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/grub.xml
r2f9131f r81fd230 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-system-grub" xreflabel="Grub"role="wrap">6 <sect1 id="ch-system-grub" role="wrap"> 7 7 <title>Grub-&grub-version;</title> 8 8 <?dbhtml filename="grub.html"?> … … 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Grub package contains the Grand Unified Bootloader.</para> 13 14 14 15 <segmentedlist> … … 18 19 </segmentedlist> 19 20 21 <segmentedlist> 22 <segtitle>Grub installation depends on</segtitle> 23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 24 GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem> 25 </segmentedlist> 20 26 </sect2> 21 27 … … 23 29 <title>Installation of Grub</title> 24 30 31 <para>This package is known to have issues when its default 32 optimization flags (including the <parameter>-march</parameter> and 33 <parameter>-mcpu</parameter> options) are changed. If any environment 34 variables that override default optimizations have been defined, such 35 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>, 36 unset them when building Grub.</para> 37 25 38 <para>Prepare Grub for compilation:</para> 26 39 27 40 <screen><userinput>./configure --prefix=/usr</userinput></screen> 28 41 29 <para> Now compile the package:</para>42 <para>Compile the package:</para> 30 43 31 44 <screen><userinput>make</userinput></screen> … … 34 47 <userinput>make check</userinput>.</para> 35 48 36 <para>Now install it:</para> 49 <para>Note that the test results will always show the error 50 <quote>ufs2_stage1_5 is too big.</quote> This is due to a compiler 51 issue, but can be ignored unless you plan to boot from an UFS 52 partition. The partitions are normally only used by Sun 53 workstations.</para> 54 55 <para>Install the package:</para> 37 56 38 57 <screen><userinput>make install 39 58 mkdir /boot/grub 40 59 cp /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen> 60 61 <para>Replace <filename class="directory">i386-pc</filename> with whatever 62 directory is appropriate for the hardware in use.</para> 41 63 42 64 <para>The <filename class="directory">i386-pc</filename> directory … … 53 75 <sect2 id="contents-grub" role="content"><title>Contents of Grub</title> 54 76 55 <para>See testing</para> 77 <segmentedlist> 78 <segtitle>Installed programs</segtitle> 79 <seglistitem><seg>grub, grub-install, 80 grub-md5-crypt, grub-terminfo, and mbchk</seg></seglistitem> 81 </segmentedlist> 82 83 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 84 <?dbfo list-presentation="list"?> 85 86 <varlistentry id="grub"> 87 <term><command>grub</command></term> 88 <listitem> 89 <para>The Grand Unified Bootloader's command shell</para> 90 <indexterm zone="ch-system-grub grub"><primary sortas="b-grub">grub</primary></indexterm> 91 </listitem> 92 </varlistentry> 93 94 <varlistentry id="grub-install"> 95 <term><command>grub-install</command></term> 96 <listitem> 97 <para>Installs GRUB on the given device</para> 98 <indexterm zone="ch-system-grub grub-install"><primary sortas="b-grub-install">grub-install</primary></indexterm> 99 </listitem> 100 </varlistentry> 101 102 <varlistentry id="grub-md5-crypt"> 103 <term><command>grub-md5-crypt</command></term> 104 <listitem> 105 <para>Encrypts a password in MD5 format</para> 106 <indexterm zone="ch-system-grub grub-md5-crypt"><primary sortas="b-grub-md5-crypt">grub-md5-crypt</primary></indexterm> 107 </listitem> 108 </varlistentry> 109 110 <varlistentry id="grub-terminfo"> 111 <term><command>grub-terminfo</command></term> 112 <listitem> 113 <para>Generates a terminfo command from a terminfo name; it can be 114 employed if an unknown terminal is being used</para> 115 <indexterm zone="ch-system-grub grub-terminfo"><primary sortas="b-grub-terminfo">grub-terminfo</primary></indexterm> 116 </listitem> 117 </varlistentry> 118 119 <varlistentry id="mbchk"> 120 <term><command>mbchk</command></term> 121 <listitem> 122 <para>Checks the format of a multi-boot kernel</para> 123 <indexterm zone="ch-system-grub mbchk"><primary sortas="b-mbchk">mbchk</primary></indexterm> 124 </listitem> 125 </varlistentry> 126 </variablelist> 56 127 57 128 </sect2> 58 129 130 </sect1> 59 131 60 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.