Changeset 81fd230 for chapter06/grub.xml


Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
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
Message:

Trunk is now identical to Testing

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/grub.xml

    r2f9131f r81fd230  
    44  %general-entities;
    55]>
    6 <sect1 id="ch-system-grub" xreflabel="Grub" role="wrap">
     6<sect1 id="ch-system-grub" role="wrap">
    77<title>Grub-&grub-version;</title>
    88<?dbhtml filename="grub.html"?>
     
    1111
    1212<sect2 role="package"><title/>
     13<para>The Grub package contains the Grand Unified Bootloader.</para>
    1314
    1415<segmentedlist>
     
    1819</segmentedlist>
    1920
     21<segmentedlist>
     22<segtitle>Grub installation depends on</segtitle>
     23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
     24GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
     25</segmentedlist>
    2026</sect2>
    2127
     
    2329<title>Installation of Grub</title>
    2430
     31<para>This package is known to have issues when its default
     32optimization flags (including the <parameter>-march</parameter> and
     33<parameter>-mcpu</parameter> options) are changed. If any environment
     34variables that override default optimizations have been defined, such
     35as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
     36unset them when building Grub.</para>
     37
    2538<para>Prepare Grub for compilation:</para>
    2639
    2740<screen><userinput>./configure --prefix=/usr</userinput></screen>
    2841
    29 <para>Now compile the package:</para>
     42<para>Compile the package:</para>
    3043
    3144<screen><userinput>make</userinput></screen>
     
    3447<userinput>make check</userinput>.</para>
    3548
    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
     51issue, but can be ignored unless you plan to boot from an UFS
     52partition. The partitions are normally only used by Sun
     53workstations.</para>
     54
     55<para>Install the package:</para>
    3756
    3857<screen><userinput>make install
    3958mkdir /boot/grub
    4059cp /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
     60
     61<para>Replace <filename class="directory">i386-pc</filename> with whatever
     62directory is appropriate for the hardware in use.</para>
    4163
    4264<para>The <filename class="directory">i386-pc</filename> directory
     
    5375<sect2 id="contents-grub" role="content"><title>Contents of Grub</title>
    5476
    55 <para>See testing</para>
     77<segmentedlist>
     78<segtitle>Installed programs</segtitle>
     79<seglistitem><seg>grub, grub-install,
     80grub-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
     114employed 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>
    56127
    57128</sect2>
    58129
     130</sect1>
    59131
    60 </sect1>
Note: See TracChangeset for help on using the changeset viewer.