Changeset c61dd1e for chapter01/how.xml


Ignore:
Timestamp:
05/31/2002 12:03:05 PM (22 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.0, 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, v4_0, v4_1, v5_0, v5_1, v5_1_1, 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:
1f9327f
Parents:
53c19e7
Message:

applied Scot's LFS-BOOK-CVS-20020530-XML.patch

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter01/how.xml

    r53c19e7 rc61dd1e  
    33<?dbhtml filename="how.html" dir="chapter01"?>
    44
    5 <para>We are going to build the LFS system by using an already installed Linux
    6 distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. There
    7 is no need to have any kind of bootdisk. We will use an existing Linux
    8 system as the base (since we need a compiler, linker, text editor, and
    9 other tools).</para>
     5<para>We are going to build the LFS system by using a previously installed
     6Linux distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc.
     7We will use the existing Linux system as the development platform, because
     8we need tools like a compiler, linker, text editor, and other necessary
     9development tools to build our system. Ordinarily, the required tools are
     10available by default if we selected "development" as one of our installation
     11options when we installed the distributed Linux.</para>
    1012
    1113<para>After you have downloaded the necessary packages that make up an LFS
    12 system you will create a new Linux native partition onto which the LFS system
    13 will be installed.</para>
     14system we will create a new Linux native partition and filesystem. Here
     15is where the LFS system will be compiled and installed.</para>
    1416
    15 <para>The next step, chapter 5, will be the installation of a number of
    16 packages that are statically linked and installed on the LFS partition.
    17 These packages form a basic development suite which will be used to
    18 install the actual system, and are also needed to resolve circular
    19 dependencies. Examples of circular dependencies are: you need a compiler
    20 to install a compiler. You need a shell in order to install a shell. And
    21 so on.</para>
     17<para>The next step, chapter 5, will discuss the installation of a number of
     18packages that will form a basic development suite that is used to
     19build the actual system, or needed to resolve circular dependencies. For
     20example, you need a compiler to build a new compiler, and you need a shell
     21in order to install a new shell. The packages in this chapter will be linked
     22statically. Static linking describes a method of compiling software so that
     23it does not require the presence of libraries when building is complete.
     24The resulting program is able to function on its own. The program is able to
     25do so because the pieces of the program that would normally remain in the
     26libraries are copied from the libraries and built right into the program.
     27Ordinarily software is built with dynamic linking. This conserves storage
     28space and increases the efficiency of many programs. We statically link
     29our software in chapter 5 because we will in theory be moving our
     30development system to a virtual environment where the already mentioned
     31libraries will be absent. If the software is built dynamically, our
     32development suite will not function. Since the libraries we are talking
     33about are provided by our distribution Linux, the goal of chapter 5 is to
     34build a development environment where those libraries are not required
     35and is therefore independent of the distribution.</para>
    2236
    23 <para>Chapter 6 installs the actual base system. We use the chroot program
    24 to start a new shell whose root directory will be set to the LFS
    25 partition. This, in essence, is the same as rebooting and having the
    26 kernel mount the LFS partition as the root partition. The reason that
    27 we don't actually reboot, but instead chroot, is that this way you can
    28 still use your host system. While software is being installed you can
    29 simply switch to a different VC (Virtual Console) or X desktop and
    30 continue using your computer as you normally would.</para>
     37<para>In chapter 6 we will build and install our final system. We will use
     38the chroot program to enter a virtual environment and start a new shell
     39whose root directory will be set to the partition where we built all the
     40chapter 5 software. This is very similar to rebooting and instructing the
     41kernel to mount our LFS partition as the root partition. The reason that
     42we don't actually reboot, but instead chroot, is that creating a static
     43system that we can boot into requires more work that simply isn't necessary.
     44As well, we can continue to use our platform system while we are building
     45LFS. While software is being compiled and installed you can simply switch
     46to a different VC (Virtual Console) or X desktop and continue using your
     47computer normally.</para>
    3148
    32 <para>When all the software is installed, chapter 7 will set up the boot
    33 scripts. Chapter 8 will set up the Linux boot loader and in chapter 9
    34 there are some pointers what you can do after you finish the book. Then
    35 you can finally reboot your system into your new LFS system, and start
    36 to really use it.</para>
     49<para>When all the software from chapter 6 is installed, chapters 7,8 and 9
     50will help us finalize our installation. We will set up our boot
     51scripts in chapter 7. In chapter 8 we will build our final linux kernel and
     52set up the Linux boot loader. Chapter 9 has some pointers to help you after
     53you finish the book. Then finally, you reboot your system and boot into your
     54new LFS system, and start to really use it.</para>
    3755
    3856<para>This is the process in a nutshell. Detailed information on the steps
    39 you are taking are provided in the chapters as you go through them. If
    40 something isn't completely clear yet, don't worry. It will become very
    41 clear shortly.</para>
     57we will take are discussed in the chapters and package descriptions as you
     58progress through them. If something isn't completely clear now, don't worry.
     59It should become very clear shortly.</para>
    4260
    4361<para>Please read chapter 2 carefully as it explains a few important things
    44 you need to be aware of before you work your way through chapters 5 and
    45 above.</para>
     62you should be aware of before you begin to work through chapters 5 and
     63later.</para>
    4664
    4765</sect1>
Note: See TracChangeset for help on using the changeset viewer.