Added information about swap partitions.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2057 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Timothy Bauscher 2002-08-15 17:39:08 +00:00
parent d29479a11f
commit 63d5562d8c
3 changed files with 39 additions and 29 deletions

View File

@ -51,6 +51,10 @@
</itemizedlist>
</para></listitem>
<listitem><para>August 15th, 2002 [timothy]: Chapter 04 - Preparing a new
partition: mentioned that a swap partition can be shared between the LFS
and host systems, grammatic changes.</para></listitem>
<listitem><para>August 13th, 2002 [gerard]: Chapter 06: Removed the
<emphasis>--with-curses</emphasis> switch from the Bash installation as
it's unnecessary here.</para></listitem>

View File

@ -2,36 +2,42 @@
<title>Creating a new partition</title>
<?dbhtml filename="creatingpart.html" dir="chapter04"?>
<para>First, let's start with telling you that it is possible to build LFS
on only one partition, which is where your original distribution is
installed. This is not recommended if it is the first time you try LFS,
but may be useful if you are short on disk space. If you feel brave, take
a look at the <emphasis>Install LFS next to existing systems on the same
<para>It is possible to build LFS on only one partition - the partition
in which your original distribution is installed. While this is not
recommended for your first LFS installation, it may be useful if you
are short on disk space. If you feel brave, take a look at the
<emphasis>Install LFS next to existing systems on the same
partition</emphasis> hint at <ulink
url="&hints-root;lfs_next_to_existing_systems.txt"/>.</para>
<para>Before we can build our new Linux system, we need to have an empty Linux
partition on which we can build our new system. We recommend a partition size
of around 1 GB. This gives enough space to store all the tarballs and
to compile all packages without worrying about running out of the necessary
temporary disk space. But you probably want more space than that if you
plan to use the LFS system as your primary Linux system. If that's the
case you'd want more space so you can install additional software. If a
Linux Native partition is already available, this subsection can be
skipped.</para>
<para>Before we can build our new Linux system, we need an empty
Linux partition where we can build it. We recommend a partition size
of at least 1 GB. This provides enough space to store the tarballs and
compile all of the packages. You will probably need more space if you
intend to install additional software and use the LFS system as your
primary Linux system. If a Linux Native partition is already available,
this subsection can be skipped.</para>
<para>The cfdisk program (or another fdisk like program you prefer) is
to be started with the appropriate hard disk as the option (like /dev/hda
if a new partition is to be created on the primary master IDE disk). It is
used to create a Linux Native partition and to write the partition table.
Please refer to the documentation that comes with your fdisk program of
choice (the man pages are often a good place to start) and read the
procedures about how to create a new Linux native partition and how to
write the partition table.</para>
<para>Since your system memory can only hold a limited amount of data
at one time, we recommend that disk space be set aside for swap files.
A swap file is a place where items in memory may be stored until they
are called for. This disk space may be shared between your host system
and your LFS system. If you already have a swap partition, then you
probably don't need to create another one. Otherwise, you should create
a swap partition via an fdisk program. Regardless, you need to remember
the designation of the swap partition (such as hda2) as it will be needed
when we create the <filename>/etc/fstab</filename> file.</para>
<para>The new partition's designation should be remembered. It
could be something like hda11. This newly created partition will be
referred to as the LFS partition in this book.</para>
<para>The cfdisk program (or another fdisk-like program) should be
started with the appropriate hard disk as the argument (like /dev/hda
if a new partition is to be created on the primary master IDE disk).
Using this program, create a Linux Native partition. Please refer to
the documentation of your fdisk program (the man pages are often a
good place to start) for information about creating Linux native
partitions and writing partition tables.</para>
<para>The designation of your new partition should be remembered.
It might be something similar to hda11. This newly created partition
will be referred to as the LFS partition in this book.</para>
</sect1>

View File

@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
<!ENTITY version "20020813">
<!ENTITY releasedate "August 13th, 2002">
<!ENTITY version "20020815">
<!ENTITY releasedate "August 15th, 2002">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">