mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-15 08:45:08 +01:00
Grammer and wording changes in the Preface
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8929 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ca2f862e60
commit
9ee226e24a
@ -15,16 +15,16 @@ questions many people raise is, <quote>why go through all the hassle of manually
|
|||||||
building a Linux system from scratch when you can just download and install
|
building a Linux system from scratch when you can just download and install
|
||||||
an existing one?</quote></para>
|
an existing one?</quote></para>
|
||||||
|
|
||||||
<para>One important reason for this project's existence is to help you learn how
|
<para>One important reason for this project's existence is to help you learn
|
||||||
a Linux system works from the inside out. Building an LFS system helps
|
how a Linux system works from the inside out. Building an LFS system helps
|
||||||
demonstrate what makes Linux tick, and how things work together and depend
|
demonstrate what makes Linux tick, and how things work together and depend on
|
||||||
on each other. One of the best things that this learning experience can
|
each other. One of the best things that this learning experience can provide is
|
||||||
provide you with is the ability to customize a Linux system to suit your
|
the ability to customize a Linux system to suit your own unique needs.</para>
|
||||||
own unique needs.</para>
|
|
||||||
|
|
||||||
<para>A key benefit of LFS is that it allows you to have more control over the
|
<para>Another key benefit of LFS is that it allows you to have more control
|
||||||
system without relying on someone else's Linux implementation. With LFS,
|
over the system without relying on someone else's Linux implementation. With
|
||||||
you are in the driver's seat and dictate every aspect of the system.</para>
|
LFS, you are in the driver's seat and dictate every aspect of the
|
||||||
|
system.</para>
|
||||||
|
|
||||||
<para>LFS allows you to create very compact Linux systems. When installing
|
<para>LFS allows you to create very compact Linux systems. When installing
|
||||||
regular distributions, you are often forced to install a great many
|
regular distributions, you are often forced to install a great many
|
||||||
@ -32,7 +32,7 @@ programs which are probably never used or understood. These programs waste
|
|||||||
resources. You may argue that with today's hard drive and CPUs, such
|
resources. You may argue that with today's hard drive and CPUs, such
|
||||||
resources are no longer a consideration. Sometimes, however, you are still
|
resources are no longer a consideration. Sometimes, however, you are still
|
||||||
constrained by size considerations if nothing else. Think about bootable
|
constrained by size considerations if nothing else. Think about bootable
|
||||||
CDs, USB sticks and embedded systems. Those are areas where LFS can be
|
CDs, USB sticks, and embedded systems. Those are areas where LFS can be
|
||||||
beneficial.</para>
|
beneficial.</para>
|
||||||
|
|
||||||
<para>Another advantage of a custom built Linux system is security. By compiling
|
<para>Another advantage of a custom built Linux system is security. By compiling
|
||||||
@ -48,10 +48,10 @@ foundation-level system. If you do not wish to build your own Linux system
|
|||||||
from scratch, you may not entirely benefit from the information in this
|
from scratch, you may not entirely benefit from the information in this
|
||||||
book.</para>
|
book.</para>
|
||||||
|
|
||||||
<para>There are too many good reasons to build your own LFS system to list them
|
<para>There are too many other good reasons to build your own LFS system to
|
||||||
all here. In the end, education is by far the most powerful of reasons. As
|
list them all here. In the end, education is by far the most powerful of
|
||||||
you continue in your LFS experience, you will discover the power that
|
reasons. As you continue in your LFS experience, you will discover the power
|
||||||
information and knowledge truly bring.</para>
|
that information and knowledge truly bring.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
@ -16,18 +16,15 @@ quickly become intrigued with the whole concept and philosophy behind
|
|||||||
Linux.</para>
|
Linux.</para>
|
||||||
|
|
||||||
<para>There are always many ways to accomplish a single task. The same can be
|
<para>There are always many ways to accomplish a single task. The same can be
|
||||||
said about Linux distributions. A great many have existed over the years.
|
said about Linux distributions. A great many have existed over the years. Some
|
||||||
Some still exist, some have morphed into something else yet others have
|
still exist, some have morphed into something else, yet others have been
|
||||||
been relegated to our memories.</para>
|
relegated to our memories. They all do things differently to suit the needs of
|
||||||
|
their target audience. Because so many different ways to accomplish the same
|
||||||
<para>They all do things differently to suit the needs of their target audience.
|
end goal exist, I began to realize I no longer had to be limited by any one
|
||||||
Because there existed so many different ways to accomplish the same end
|
|
||||||
goal, I began to realize I no longer had to be limited by any one
|
|
||||||
implementation. Prior to discovering Linux, we simply put up with issues in
|
implementation. Prior to discovering Linux, we simply put up with issues in
|
||||||
other Operating Systems as you had no choice. It was what it was, whether
|
other Operating Systems as you had no choice. It was what it was, whether you
|
||||||
you liked it or not. With Linux, the concept of choice began to emerge. If
|
liked it or not. With Linux, the concept of choice began to emerge. If you
|
||||||
you didn't like something, you were free, even encouraged, to change
|
didn't like something, you were free, even encouraged, to change it.</para>
|
||||||
it.</para>
|
|
||||||
|
|
||||||
<para>I tried a number of distributions and could not decide on any one. They
|
<para>I tried a number of distributions and could not decide on any one. They
|
||||||
were great systems in their own right. It wasn't a matter of right and
|
were great systems in their own right. It wasn't a matter of right and
|
||||||
@ -44,7 +41,7 @@ daunting. I remained committed to the idea that such a system could be
|
|||||||
built.</para>
|
built.</para>
|
||||||
|
|
||||||
<para>After sorting through issues such as circular dependencies and compile-time
|
<para>After sorting through issues such as circular dependencies and compile-time
|
||||||
errors, a custom-built Linux system was finally built. It was fully
|
errors, I finally built a custom-built Linux system. It was fully
|
||||||
operational and perfectly usable like any of the other Linux systems out
|
operational and perfectly usable like any of the other Linux systems out
|
||||||
there at the time. But it was my own creation. It was very satisfying to
|
there at the time. But it was my own creation. It was very satisfying to
|
||||||
have put together such a system yourself. The only thing better would have
|
have put together such a system yourself. The only thing better would have
|
||||||
@ -52,8 +49,8 @@ been to create each piece of software myself. This was the next best
|
|||||||
thing.</para>
|
thing.</para>
|
||||||
|
|
||||||
<para>As I shared my goals and experiences with other members of the Linux
|
<para>As I shared my goals and experiences with other members of the Linux
|
||||||
community, it became apparent that there was a sustained interest in those
|
community, it became apparent that there was a sustained interest in these
|
||||||
ideas. It quickly became apparent that such custom-built Linux systems
|
ideas. It quickly became plain that such custom-built Linux systems
|
||||||
serve not only to meet user specific requirements, but also serve as an
|
serve not only to meet user specific requirements, but also serve as an
|
||||||
ideal learning opportunity for programmers and system administrators to
|
ideal learning opportunity for programmers and system administrators to
|
||||||
enhance their (existing) Linux skills. Out of this broadened interest, the
|
enhance their (existing) Linux skills. Out of this broadened interest, the
|
||||||
@ -63,12 +60,12 @@ enhance their (existing) Linux skills. Out of this broadened interest, the
|
|||||||
provides the background and instructions necessary for you to design and
|
provides the background and instructions necessary for you to design and
|
||||||
build your own system. While this book provides a template that will result
|
build your own system. While this book provides a template that will result
|
||||||
in a correctly working system, you are free to alter the instructions to
|
in a correctly working system, you are free to alter the instructions to
|
||||||
suit yourself, which is in part the whole point of this project after all. You
|
suit yourself, which is, in part, an important part of this project. You
|
||||||
remain in control; we just lend a helping hand to get you started on your
|
remain in control; we just lend a helping hand to get you started on your
|
||||||
own journey.</para>
|
own journey.</para>
|
||||||
|
|
||||||
<para>I sincerely hope you will have a great time working on your own Linux From
|
<para>I sincerely hope you will have a great time working on your own Linux From
|
||||||
Scratch system, and enjoy the numerous benefits of having a system that is
|
Scratch system and enjoy the numerous benefits of having a system that is
|
||||||
truly your own.</para>
|
truly your own.</para>
|
||||||
|
|
||||||
<literallayout>--
|
<literallayout>--
|
||||||
|
@ -59,8 +59,6 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<!-- Gcc-2.95.3 breaks feature tests when using CC="gcc -B/usr/bin/"
|
|
||||||
in the *-pass1 sections -->
|
|
||||||
<para><emphasis role="strong">Gcc-3.0.1</emphasis> (Versions
|
<para><emphasis role="strong">Gcc-3.0.1</emphasis> (Versions
|
||||||
greater than &gcc-version; are not recommended as they have not
|
greater than &gcc-version; are not recommended as they have not
|
||||||
been tested)</para>
|
been tested)</para>
|
||||||
@ -81,24 +79,27 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
|
<para><emphasis role="strong">Linux Kernel-2.6.18</emphasis>
|
||||||
(having been compiled with GCC-3.0 or greater)</para>
|
(having been compiled with GCC-3.0 or greater)</para>
|
||||||
|
|
||||||
<para>The reason for the kernel version requirement is that thread-local
|
<para>The reason for the kernel version requirement is that we specify
|
||||||
|
that version when building <application>glibc</application> in Chapter 6
|
||||||
|
at the recommendation of the developers. This can be overridden if
|
||||||
|
desired but at least a 2.6.0 kerenl is required because thread-local
|
||||||
storage support in Binutils will not be built and the Native POSIX
|
storage support in Binutils will not be built and the Native POSIX
|
||||||
Threading Library (NPTL) test suite will segfault if the host's kernel
|
Threading Library (NPTL) test suite will segfault if the host's kernel
|
||||||
isn't at least a 2.6.x version compiled with a 3.0 or later release of
|
isn't at least a 2.6.x version compiled with a 3.0 or later release of
|
||||||
GCC.</para>
|
GCC.</para>
|
||||||
|
|
||||||
<para>If the host kernel is either earlier than 2.6.x, or it was not
|
<para>If the host kernel is either earlier than 2.6.18, or it was not
|
||||||
compiled using a GCC-3.0 (or later) compiler, you will have to replace
|
compiled using a GCC-3.0 (or later) compiler, you will need to replace
|
||||||
the kernel with one adhering to the specifications. There are two
|
the kernel with one adhering to the specifications. There are two ways
|
||||||
ways you can go about this.First, see if your Linux vendor provides a
|
you can go about this. First, see if your Linux vendor provides a 2.6.18
|
||||||
2.6 kernel package. If so, you may wish to install it. If your vendor
|
or later kernel package. If so, you may wish to install it. If your
|
||||||
doesn't offer a 2.6 kernel package, or you would prefer not to install it,
|
vendor doesn't offer an acceptable kernel package, or you would prefer not to
|
||||||
you can compile a 2.6 kernel yourself. Instructions for compiling the
|
install it, you can compile a kernel yourself. Instructions for
|
||||||
kernel and configuring the boot loader (assuming the host uses GRUB) are
|
compiling the kernel and configuring the boot loader (assuming the host
|
||||||
located in <xref linkend="chapter-bootable"/>.</para>
|
uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>This version of the book builds a 32-bit Linux system and
|
<para>This version of the book builds a 32-bit Linux system and
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<para>Building an LFS system is not a simple task. It requires a certain
|
<para>Building an LFS system is not a simple task. It requires a certain
|
||||||
level of existing knowledge of Unix system administration in order to resolve
|
level of existing knowledge of Unix system administration in order to resolve
|
||||||
problems, and correctly execute the commands listed. In particular, as an
|
problems and correctly execute the commands listed. In particular, as an
|
||||||
absolute minimum, you should already have the ability to use the
|
absolute minimum, you should already have the ability to use the
|
||||||
command line (shell) to copy or move files and directories, list directory
|
command line (shell) to copy or move files and directories, list directory
|
||||||
and file contents, and change the current directory. It is also expected that
|
and file contents, and change the current directory. It is also expected that
|
||||||
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
<para>Because the LFS book assumes <emphasis>at least</emphasis> this basic
|
<para>Because the LFS book assumes <emphasis>at least</emphasis> this basic
|
||||||
level of skill, the various LFS support forums are unlikely to be able to
|
level of skill, the various LFS support forums are unlikely to be able to
|
||||||
provide you with much assistance; you will find that your questions regarding
|
provide you with much assistance in these areas. You will find that your
|
||||||
such basic knowledge will likely go unanswered, or you will simply be referred
|
questions regarding such basic knowledge will likely go unanswered or you
|
||||||
to the LFS essential pre-reading list.</para>
|
will simply be referred to the LFS essential pre-reading list.</para>
|
||||||
|
|
||||||
<para>Before building an LFS system, we recommend reading the following
|
<para>Before building an LFS system, we recommend reading the following
|
||||||
HOWTOs:</para>
|
HOWTOs:</para>
|
||||||
@ -34,14 +34,17 @@
|
|||||||
<ulink url="http://www.tldp.org/HOWTO/Software-Building-HOWTO.html"/></para>
|
<ulink url="http://www.tldp.org/HOWTO/Software-Building-HOWTO.html"/></para>
|
||||||
|
|
||||||
<para>This is a comprehensive guide to building and installing
|
<para>This is a comprehensive guide to building and installing
|
||||||
<quote>generic</quote> Unix software packages under Linux.</para>
|
<quote>generic</quote> Unix software packages under Linux. Although it
|
||||||
|
was written some time ago, it still provides a good summary of the
|
||||||
|
basic techniques needed to build and install software.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The Linux Users' Guide
|
<para>The Linux Users' Guide
|
||||||
<ulink url="http://www.linuxhq.com/guides/LUG/guide.html"/></para>
|
<ulink url="http://www.linuxhq.com/guides/LUG/guide.html"/></para>
|
||||||
|
|
||||||
<para>This guide covers the usage of assorted Linux software.</para>
|
<para>This guide covers the usage of assorted Linux software. This
|
||||||
|
reference is also fairly old, but still valid.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
||||||
|
|
||||||
<para>This form of text (fixed-width text) shows screen output, probably as
|
<para>This form of text (fixed-width text) shows screen output, usually as
|
||||||
the result of commands issued. This format is also used to show filenames,
|
the result of commands issued. This format is also used to show filenames,
|
||||||
such as <filename>/etc/ld.so.conf</filename>.</para>
|
such as <filename>/etc/ld.so.conf</filename>.</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user