Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/introduction/common/how.xml

    r9389c82 r775d9a7  
    2222  your machine, you may wish to use a livecd. Most distributions provide
    2323  a livecd, which provides an environment to which you can add the required
    24   tools onto, allowing you to successfully follow the instructions in this
    25   book. Remember that if you reboot the livecd you will need to reconfigure
    26   the host environment before continuing with your build.</para>
     24  tools onto, allowing you to
     25  successfully follow the instructions in this book. Remember that if you
     26  reboot the livecd you will need to reconfigure the host environment before
     27  continuing with your build.</para>
    2728
    2829  <para><xref linkend="chapter-partitioning"/> of this book describes how
     
    5354  <para>After we build our <quote>Cross-Tools</quote>, we start building
    5455  a very minimal working system in
    55   <filename class="directory">/tools</filename>, using the cross-toolchain in
    56   <filename class="directory">/cross-tools</filename>. Once the temporary
    57   system is finished, we perform a few additional tasks to prepare to
    58   enter this temporary build environment, either by booting or chrooting into
    59   it. For more details about the difference between these methods, see
    60   <xref linkend="ch-temp-system-choose"/>.</para>
     56  <filename class="directory">/tools</filename>. This minimal system will be
     57  built using the cross-toolchain in
     58  <filename class="directory">/cross-tools</filename>.</para>
    6159
    62   <para>In <xref linkend="chapter-building-system"/>, after having booted
    63   or chrooted into the temporary build environment, the full CLFS system is
    64   built.</para>
     60  <para>In <xref linkend="chapter-building-system"/>, the full CLFS system is
     61  built. Depending on the system you are cross-compiling for, you will either
     62  boot the minimal temp-system on the target machine, or chroot into it.</para>
    6563
    66   <para>To finish the installation, several configuration files are created in
    67   <xref linkend="chapter-system-config"/>, and the kernel and boot loader are
    68   set up in <xref linkend="chapter-bootable"/>.
    69   <xref linkend="chapter-finalizing"/>
     64  <para>The <command>chroot</command> (change root) program is used to enter
     65  a virtual environment and start a new shell whose root directory will be set
     66  to the CLFS partition. This is very similar to rebooting and instructing the
     67  kernel to mount the CLFS partition as the root partition.
     68  The major advantage is that <quote>chrooting</quote> allows the builder to
     69  continue using the host while CLFS is being built. While waiting for package
     70  compilation to complete, a user can switch to a different virtual console
     71  (VC) or X desktop and continue using the computer as normal.</para>
     72
     73  <para>Some systems cannot be built by chrooting so they must be
     74  booted instead. Generally, if you building for a different arch than
     75  the host system, you must reboot because the kernel will likely not
     76  support the target machine. Booting involves installing a few
     77  additional packages that are needed for bootup, installing
     78  bootscripts, and building a miminal kernel.<!-- We also describe some
     79  alternative booting methods in <xref linkend="ch-boot-whatnext"/> --></para>
     80
     81  <para> To finish the installation, the CLFS-Bootscripts are set up in
     82  <xref linkend="chapter-system-config"/>, and the kernel and boot loader are set
     83  up in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
    7084  contains information on furthering the CLFS experience beyond this book.
    7185  After the steps in this book have been implemented, the computer will be
Note: See TracChangeset for help on using the changeset viewer.