source: chapter01/how.xml@ 91b45ad

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_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
Last change on this file since 91b45ad was 91b45ad, checked in by Timothy Bauscher <timothy@…>, 21 years ago

Applied Billy's grammatical patch.

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

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<sect1 id="ch01-how">
2<title>How things are going to be done</title>
3<?dbhtml filename="how.html" dir="chapter01"?>
4
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 development
9tools to build our system. Ordinarily, the required tools are available by
10default if we selected "development" as one of our installation options
11when we installed a Linux distribution.</para>
12
13<para>After you have downloaded the packages that make up an LFS system,
14we will create a new Linux native partition and filesystem. Here is where
15the LFS system will be compiled and installed.</para>
16
17<para>The next step, Chapter 5, will discuss the installation of a number of
18packages that will form the basic development suite which 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.</para>
23
24<para>Static linking describes a method of compiling software so that
25it does not require the presence of libraries when building is complete.
26The resulting program is able to function on its own. The program is able to
27do so because the pieces of the program that would normally remain in the
28libraries are copied from the libraries and built right into the program.
29Ordinarily, software is built with dynamic linking. This conserves storage
30space and increases the efficiency of many programs. We statically link
31our software in Chapter 5 because we will, in theory, be moving our
32development system to a virtual environment where the already mentioned
33libraries will be absent. If the software is built dynamically, our
34development suite will not function. Since the libraries we are talking
35about are provided by our distribution Linux, the goal of Chapter 5 is to
36build a development environment where those libraries are not required
37and is therefore independent of the distribution.</para>
38
39<para>In Chapter 6 we will build and install our final system. We will use
40the chroot program to enter a virtual environment and start a new shell
41whose root directory will be set to the partition where we built all the
42Chapter 5 software. This is very similar to rebooting and instructing the
43kernel to mount our LFS partition as the root partition. The reason that
44we don't actually reboot, but instead chroot, is that creating a bootable
45static system requires additional work which simply isn't necessary. As
46well, we can continue to use our platform system while we are building LFS.
47While software is being compiled and installed you can simply switch to a
48different VC (Virtual Console) or X desktop and continue using your
49computer normally.</para>
50
51<para>When all the software from Chapter 6 is installed, Chapters 7, 8 and 9
52will help us finalize our installation. We will set up our boot
53scripts in Chapter 7. In Chapter 8 we will build our final Linux kernel and
54set up the Linux boot loader. Chapter 9 has some pointers to help you after
55you finish the book. Then finally, you reboot your system and boot into your
56new LFS system, and start to really use it.</para>
57
58<para>This is the process in a nutshell. Detailed information on the steps
59we will take are discussed in the chapters and package descriptions as you
60progress through them. If something isn't completely clear now, don't worry.
61It should become very clear shortly.</para>
62
63<para>Please read Chapter 2 carefully as it explains a few important things
64you should be aware of before you begin to work through Chapters 5 and
65later.</para>
66
67</sect1>
68
Note: See TracBrowser for help on using the repository browser.