<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-boot-e2fsprogs" role="wrap">
  <?dbhtml filename="e2fsprogs.html"?>

  <title>E2fsprogs-&e2fsprogs-version;</title>

  <indexterm zone="ch-boot-e2fsprogs">
    <primary sortas="a-E2fsprogs">E2fsprogs</primary>
    <secondary>boot</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../../final-system/common/e2fsprogs.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of E2fsprogs</title>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='a'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='b'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='c'])"/>

<screen><userinput>../configure --prefix=/tools \
    --enable-elf-shlibs --disable-evms \
    --host=${LFS_TARGET}</userinput></screen>

    <variablelist os="aa">
      <title>The meaning of the configure options:</title>

      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
      href="../../final-system/common/e2fsprogs.xml"
      xpointer="xpointer(//*[@os='l'])"/>

      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
      href="../../final-system/common/e2fsprogs.xml"
      xpointer="xpointer(//*[@os='m'])"/>

    </variablelist>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='e'])"/>

<screen><userinput>make</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='h'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='i'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='j'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/e2fsprogs.xml"
    xpointer="xpointer(//*[@os='k'])"/>

    <para os="ab">Create needed symlinks for a bootable system:</para>

<screen os="ac"><userinput>install -d ${LFS}/sbin
cd ${LFS}/sbin
ln -sf ../tools/sbin/fsck.ext2 .
ln -sf ../tools/sbin/fsck.ext3 .
ln -sf ../tools/sbin/e2fsck .</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-e2fsprogs" role="."/></para>

  </sect2>

</sect1>
