| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <sect1 id="ch01-how"><title>How things are going to be done</title><para>We are going to build the LFS system by using an already installed Linuxdistribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. Thereis no need to have any kind of bootdisk. We will use an existing Linuxsystem as the base (since we need a compiler, linker, text editor, andother tools).</para><para>After you have downloaded the necessary packages that make up an LFSsystem you will create a new Linux native partition onto which the LFS systemwill be installed.</para><para>The next step, chapter 5, will be the installation of a number ofpackages that are statically linked and installed on the LFS partition.These packages form a basic development suite which will be used toinstall the actual system, and are also needed to resolve circulardependencies. Examples of circular dependencies are: you need a compiler to install a compiler. You need a shell in order to install a shell. Andso on.</para><para>Chapter 6 installs the actual base system. We use the chroot program to start a new shell whose root directory will be set to the LFSpartition. This, in essence, is the same as rebooting and have thekernel mount the LFS partition as the root partition. The reason thatwe don't actually reboot, but instead chroot, is that this way you canstill use your host system. While software is being installed you cansimply switch to a different VC (Virtual Console) or X desktop andcontinue using your computer as you normally would.</para><para>When all the software is installed, chapter 7 will setup the bootscripts. Chapter 8 will setup the Linux boot loader and in chapter 9there are some pointers what you can do after you finish the book. Thenyou can finally reboot your system into your new LFS system, and startto really use it.</para><para>This is the process in a nutshell. Detailed information on the stepsyou are taking are provided in the chapters as you go through them. Ifsomething isn't completely clear yet, don't worry. It will become veryclear shortly.</para><para>Please read chapter 2 carefully as it explains a few important thingsyou need to be aware of before you work your way through chapters 5 andabove.</para></sect1>
 |