[6370fa6] | 1 | <sect1 id="ch01-how">
|
---|
| 2 | <title>How things are going to be done</title>
|
---|
[04f5529] | 3 | <?dbhtml filename="how.html" dir="chapter01"?>
|
---|
[6370fa6] | 4 |
|
---|
[b822811] | 5 | <para>We are going to build the LFS system by using an already installed Linux
|
---|
[280bcc8] | 6 | distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. There
|
---|
[1b256332] | 7 | is no need to have any kind of bootdisk. We will use an existing Linux
|
---|
[44512db5] | 8 | system as the base (since we need a compiler, linker, text editor, and
|
---|
[b822811] | 9 | other tools).</para>
|
---|
[6370fa6] | 10 |
|
---|
[b822811] | 11 | <para>After you have downloaded the necessary packages that make up an LFS
|
---|
[2a761d4] | 12 | system you will create a new Linux native partition onto which the LFS system
|
---|
| 13 | will be installed.</para>
|
---|
[32489b5] | 14 |
|
---|
[b822811] | 15 | <para>The next step, chapter 5, will be the installation of a number of
|
---|
[32489b5] | 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
|
---|
[fada431] | 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>
|
---|
[32489b5] | 22 |
|
---|
[fada431] | 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
|
---|
[5850fbfe] | 25 | partition. This, in essence, is the same as rebooting and having the
|
---|
[32489b5] | 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
|
---|
[fada431] | 30 | continue using your computer as you normally would.</para>
|
---|
[32489b5] | 31 |
|
---|
[b822811] | 32 | <para>When all the software is installed, chapter 7 will setup the boot
|
---|
[fada431] | 33 | scripts. Chapter 8 will setup 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>
|
---|
[32489b5] | 37 |
|
---|
[b822811] | 38 | <para>This is the process in a nutshell. Detailed information on the steps
|
---|
[32489b5] | 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
|
---|
[b822811] | 41 | clear shortly.</para>
|
---|
[32489b5] | 42 |
|
---|
[b822811] | 43 | <para>Please read chapter 2 carefully as it explains a few important things
|
---|
[32489b5] | 44 | you need to be aware of before you work your way through chapters 5 and
|
---|
[b822811] | 45 | above.</para>
|
---|
[6370fa6] | 46 |
|
---|
| 47 | </sect1>
|
---|
| 48 |
|
---|