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> </itemizedlist>
</para></listitem> </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 <listitem><para>August 13th, 2002 [gerard]: Chapter 06: Removed the
<emphasis>--with-curses</emphasis> switch from the Bash installation as <emphasis>--with-curses</emphasis> switch from the Bash installation as
it's unnecessary here.</para></listitem> it's unnecessary here.</para></listitem>

View File

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

View File

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