how.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <sect1 id="ch01-how">
  2. <title>How things are going to be done</title>
  3. <para>We are going to build the LFS system by using an already installed Linux
  4. distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. There
  5. is no need to have any kind of bootdisk. We will use an existing Linux
  6. system as the base (since we need a compiler, linker, text editor, and
  7. other tools).</para>
  8. <para>After you have downloaded the necessary packages that make up an LFS
  9. system you will create a new Linux native partition where the LFS system
  10. will be installed onto.</para>
  11. <para>The next step, chapter 5, will be the installation of a number of
  12. packages that are statically linked and installed on the LFS partition.
  13. These packages form a basic development suite which will be used to
  14. install the actual system, and are also needed to resolve circular
  15. dependencies. Examples of circular dependencies are: you need a compiler
  16. to install a compiler. You need a shell in order to install a shell. And
  17. so on.</para>
  18. <para>Chapter 6 installs the actual base system. We use the chroot program
  19. to start a new shell whose root directory will be set to the LFS
  20. partition. This, in essence, is the same as rebooting and have the
  21. kernel mount the LFS partition as the root partition. The reason that
  22. we don't actually reboot, but instead chroot, is that this way you can
  23. still use your host system. While software is being installed you can
  24. simply switch to a different VC (Virtual Console) or X desktop and
  25. continue using your computer as you normally would.</para>
  26. <para>When all the software is installed, chapter 7 will setup the boot
  27. scripts. Chapter 8 will setup the Linux boot loader and in chapter 9
  28. there are some pointers what you can do after you finish the book. Then
  29. you can finally reboot your system into your new LFS system, and start
  30. to really use it.</para>
  31. <para>This is the process in a nutshell. Detailed information on the steps
  32. you are taking are provided in the chapters as you go through them. If
  33. something isn't completely clear yet, don't worry. It will become very
  34. clear shortly.</para>
  35. <para>Please read chapter 2 carefully as it explains a few important things
  36. you need to be aware of before you work your way through chapters 5 and
  37. above.</para>
  38. </sect1>