Changeset 4ae4324 for chapter06/grub.xml
- Timestamp:
- 02/05/2006 11:33:31 AM (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, 12.2, 12.2-rc1, 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:
- bdea25ce
- Parents:
- 6a82dd9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/grub.xml
r6a82dd9 r4ae4324 1 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" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-grub" role="wrap"> 7 <title>GRUB-&grub-version;</title> 8 <?dbhtml filename="grub.html"?> 9 <?dbhtml filename="grub.html"?> 9 10 10 <indexterm zone="ch-system-grub"><primary sortas="a-Grub">GRUB</primary></indexterm>11 <title>GRUB-&grub-version;</title> 11 12 12 <sect2 role="package"><title/> 13 <para>The GRUB package contains the GRand Unified Bootloader.</para> 13 <indexterm zone="ch-system-grub"> 14 <primary sortas="a-Grub">GRUB</primary> 15 </indexterm> 14 16 15 <segmentedlist> 16 <segtitle>&buildtime;</segtitle> 17 <segtitle>&diskspace;</segtitle> 18 <seglistitem><seg>0.2 SBU</seg><seg>10.0 MB</seg></seglistitem> 19 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 20 19 21 <segmentedlist> 22 <segtitle>&dependencies;</segtitle> 23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 24 GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem> 25 </segmentedlist> 26 </sect2> 20 <para>The GRUB package contains the GRand Unified Bootloader.</para> 27 21 28 <sect2 role="installation"> 29 <title>Installation of GRUB</title> 22 <segmentedlist> 23 <segtitle>&buildtime;</segtitle> 24 <segtitle>&diskspace;</segtitle> 30 25 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> 26 <seglistitem> 27 <seg>0.2 SBU</seg> 28 <seg>10.0 MB</seg> 29 </seglistitem> 30 </segmentedlist> 37 31 38 <para>Prepare GRUB for compilation:</para> 32 <segmentedlist> 33 <segtitle>&dependencies;</segtitle> 34 35 <seglistitem> 36 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 37 Ncurses, and Sed</seg> 38 </seglistitem> 39 </segmentedlist> 40 41 </sect2> 42 43 <sect2 role="installation"> 44 <title>Installation of GRUB</title> 45 46 <para>This package is known to have issues when its default 47 optimization flags (including the <parameter>-march</parameter> and 48 <parameter>-mcpu</parameter> options) are changed. If any environment 49 variables that override default optimizations have been defined, such 50 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>, 51 unset them when building GRUB.</para> 52 53 <para>Prepare GRUB for compilation:</para> 39 54 40 55 <screen><userinput>./configure --prefix=/usr</userinput></screen> 41 56 42 <para>Compile the package:</para>57 <para>Compile the package:</para> 43 58 44 59 <screen><userinput>make</userinput></screen> 45 60 46 <para>To test the results, issue:47 <userinput>make check</userinput>.</para>61 <para>To test the results, issue: 62 <userinput>make check</userinput>.</para> 48 63 49 <para>Install the package:</para>64 <para>Install the package:</para> 50 65 51 66 <screen><userinput>make install … … 53 68 cp -v /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen> 54 69 55 <para>Replace <filename class="directory">i386-pc</filename> with whatever56 directory is appropriate for the hardware in use.</para>70 <para>Replace <filename class="directory">i386-pc</filename> with whatever 71 directory is appropriate for the hardware in use.</para> 57 72 58 <para>The <filename class="directory">i386-pc</filename> directory59 contains a number of <filename>*stage1_5</filename> files, different60 ones for different file systems. Review the files available and copy61 the appropriate ones to the <filename62 class="directory">/boot/grub</filename> directory. Most users will63 copy the <filename>e2fs_stage1_5</filename> and/or64 <filename>reiserfs_stage1_5</filename> files.</para>73 <para>The <filename class="directory">i386-pc</filename> directory 74 contains a number of <filename>*stage1_5</filename> files, different 75 ones for different file systems. Review the files available and copy 76 the appropriate ones to the <filename 77 class="directory">/boot/grub</filename> directory. Most users will 78 copy the <filename>e2fs_stage1_5</filename> and/or 79 <filename>reiserfs_stage1_5</filename> files.</para> 65 80 66 </sect2>81 </sect2> 67 82 83 <sect2 id="contents-gRUB" role="content"> 84 <title>Contents of GRUB</title> 68 85 69 <sect2 id="contents-gRUB" role="content"><title>Contents of GRUB</title> 86 <segmentedlist> 87 <segtitle>Installed programs</segtitle> 70 88 71 <segmentedlist> 72 <segtitle>Installed programs</segtitle> 73 <seglistitem><seg>grub, grub-install, 74 grub-md5-crypt, grub-terminfo, and mbchk</seg></seglistitem> 75 </segmentedlist> 89 <seglistitem> 90 <seg>grub, grub-install, grub-md5-crypt, grub-terminfo, and mbchk</seg> 91 </seglistitem> 92 </segmentedlist> 76 93 77 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 78 <?dbfo list-presentation="list"?> 79 <?dbhtml list-presentation="table"?> 94 <variablelist> 95 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 96 <?dbfo list-presentation="list"?> 97 <?dbhtml list-presentation="table"?> 80 98 81 <varlistentry id="grub"> 82 <term><command>grub</command></term> 83 <listitem> 84 <para>The Grand Unified Bootloader's command shell</para> 85 <indexterm zone="ch-system-grub grub"><primary sortas="b-grub">grub</primary></indexterm> 86 </listitem> 87 </varlistentry> 99 <varlistentry id="grub"> 100 <term><command>grub</command></term> 101 <listitem> 102 <para>The Grand Unified Bootloader's command shell</para> 103 <indexterm zone="ch-system-grub grub"> 104 <primary sortas="b-grub">grub</primary> 105 </indexterm> 106 </listitem> 107 </varlistentry> 88 108 89 <varlistentry id="grub-install"> 90 <term><command>grub-install</command></term> 91 <listitem> 92 <para>Installs GRUB on the given device</para> 93 <indexterm zone="ch-system-grub grub-install"><primary sortas="b-grub-install">grub-install</primary></indexterm> 94 </listitem> 95 </varlistentry> 109 <varlistentry id="grub-install"> 110 <term><command>grub-install</command></term> 111 <listitem> 112 <para>Installs GRUB on the given device</para> 113 <indexterm zone="ch-system-grub grub-install"> 114 <primary sortas="b-grub-install">grub-install</primary> 115 </indexterm> 116 </listitem> 117 </varlistentry> 96 118 97 <varlistentry id="grub-md5-crypt"> 98 <term><command>grub-md5-crypt</command></term> 99 <listitem> 100 <para>Encrypts a password in MD5 format</para> 101 <indexterm zone="ch-system-grub grub-md5-crypt"><primary sortas="b-grub-md5-crypt">grub-md5-crypt</primary></indexterm> 102 </listitem> 103 </varlistentry> 119 <varlistentry id="grub-md5-crypt"> 120 <term><command>grub-md5-crypt</command></term> 121 <listitem> 122 <para>Encrypts a password in MD5 format</para> 123 <indexterm zone="ch-system-grub grub-md5-crypt"> 124 <primary sortas="b-grub-md5-crypt">grub-md5-crypt</primary> 125 </indexterm> 126 </listitem> 127 </varlistentry> 104 128 105 <varlistentry id="grub-terminfo"> 106 <term><command>grub-terminfo</command></term> 107 <listitem> 108 <para>Generates a terminfo command from a terminfo name; it can be 109 employed if an unknown terminal is being used</para> 110 <indexterm zone="ch-system-grub grub-terminfo"><primary sortas="b-grub-terminfo">grub-terminfo</primary></indexterm> 111 </listitem> 112 </varlistentry> 129 <varlistentry id="grub-terminfo"> 130 <term><command>grub-terminfo</command></term> 131 <listitem> 132 <para>Generates a terminfo command from a terminfo name; it can be 133 employed if an unknown terminal is being used</para> 134 <indexterm zone="ch-system-grub grub-terminfo"> 135 <primary sortas="b-grub-terminfo">grub-terminfo</primary> 136 </indexterm> 137 </listitem> 138 </varlistentry> 113 139 114 <varlistentry id="mbchk"> 115 <term><command>mbchk</command></term> 116 <listitem> 117 <para>Checks the format of a multi-boot kernel</para> 118 <indexterm zone="ch-system-grub mbchk"><primary sortas="b-mbchk">mbchk</primary></indexterm> 119 </listitem> 120 </varlistentry> 121 </variablelist> 140 <varlistentry id="mbchk"> 141 <term><command>mbchk</command></term> 142 <listitem> 143 <para>Checks the format of a multi-boot kernel</para> 144 <indexterm zone="ch-system-grub mbchk"> 145 <primary sortas="b-mbchk">mbchk</primary> 146 </indexterm> 147 </listitem> 148 </varlistentry> 122 149 123 </sect2> 150 </variablelist> 151 152 </sect2> 124 153 125 154 </sect1> 126
Note:
See TracChangeset
for help on using the changeset viewer.