Changeset 26e62aa for chapter01/how.xml
- Timestamp:
- 09/20/2002 09:11:28 PM (22 years ago)
- 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:
- 88abb11
- Parents:
- eb7df24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/how.xml
reb7df24 r26e62aa 6 6 Linux distribution such as Debian, SuSE, Slackware, Mandrake, RedHat, etc. 7 7 We will use the existing Linux system as the development platform, because 8 we need tools like a compiler, linker, text editor, and other necessary9 development tools to build our system. Ordinarily, the required tools are 10 available by default if we selected "development" as one of our installation 11 options when we installed the distributed Linux.</para>8 we need tools like a compiler, linker, text editor, and other development 9 tools to build our system. Ordinarily, the required tools are available by 10 default if we selected "development" as one of our installation options 11 when we installed a Linux distribution.</para> 12 12 13 <para>After you have downloaded the necessary packages that make up an LFS14 system we will create a new Linux native partition and filesystem. Here15 is wherethe LFS system will be compiled and installed.</para>13 <para>After you have downloaded the packages that make up an LFS system, 14 we will create a new Linux native partition and filesystem. Here is where 15 the LFS system will be compiled and installed.</para> 16 16 17 <para>The next step, chapter 5, will discuss the installation of a number of17 <para>The next step, Chapter 5, will discuss the installation of a number of 18 18 packages that will form the basic development suite which is used to 19 19 build the actual system, or needed to resolve circular dependencies. For … … 29 29 Ordinarily, software is built with dynamic linking. This conserves storage 30 30 space and increases the efficiency of many programs. We statically link 31 our software in chapter 5 because we will in theorybe moving our31 our software in Chapter 5 because we will, in theory, be moving our 32 32 development system to a virtual environment where the already mentioned 33 33 libraries will be absent. If the software is built dynamically, our 34 34 development suite will not function. Since the libraries we are talking 35 about are provided by our distribution Linux, the goal of chapter 5 is to35 about are provided by our distribution Linux, the goal of Chapter 5 is to 36 36 build a development environment where those libraries are not required 37 37 and is therefore independent of the distribution.</para> 38 38 39 <para>In chapter 6 we will build and install our final system. We will use39 <para>In Chapter 6 we will build and install our final system. We will use 40 40 the chroot program to enter a virtual environment and start a new shell 41 41 whose root directory will be set to the partition where we built all the 42 chapter 5 software. This is very similar to rebooting and instructing the42 Chapter 5 software. This is very similar to rebooting and instructing the 43 43 kernel to mount our LFS partition as the root partition. The reason that 44 we don't actually reboot, but instead chroot, is that creating a static45 s ystem that we can boot into requires more work that simply isn't necessary.46 As well, we can continue to use our platform system while we are building 47 LFS. While software is being compiled and installed you can simply switch 48 to adifferent VC (Virtual Console) or X desktop and continue using your44 we don't actually reboot, but instead chroot, is that creating a bootable 45 static system requires additional work which simply isn't necessary. As 46 well, we can continue to use our platform system while we are building LFS. 47 While software is being compiled and installed you can simply switch to a 48 different VC (Virtual Console) or X desktop and continue using your 49 49 computer normally.</para> 50 50 51 <para>When all the software from chapter 6 is installed, chapters 7, 8 and 951 <para>When all the software from Chapter 6 is installed, Chapters 7, 8 and 9 52 52 will help us finalize our installation. We will set up our boot 53 scripts in chapter 7. In chapter 8 we will build our final linux kernel and53 scripts in Chapter 7. In Chapter 8 we will build our final linux kernel and 54 54 set up the Linux boot loader. Chapter 9 has some pointers to help you after 55 55 you finish the book. Then finally, you reboot your system and boot into your … … 61 61 It should become very clear shortly.</para> 62 62 63 <para>Please read chapter 2 carefully as it explains a few important things64 you should be aware of before you begin to work through chapters 5 and63 <para>Please read Chapter 2 carefully as it explains a few important things 64 you should be aware of before you begin to work through Chapters 5 and 65 65 later.</para> 66 66
Note:
See TracChangeset
for help on using the changeset viewer.