diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-08-15 17:39:08 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-08-15 17:39:08 +0000 |
commit | 63d5562d8cb76477eedc777334ab47fde216719d (patch) | |
tree | b7942aa3fa415d9a73da317c01502ee6fb397e28 /chapter03 | |
parent | d29479a11f0ea26c79d1ab252070ed08740e5d65 (diff) |
Added information about swap partitions.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2057 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter03')
-rw-r--r-- | chapter03/creatingpart.xml | 60 |
1 files changed, 33 insertions, 27 deletions
diff --git a/chapter03/creatingpart.xml b/chapter03/creatingpart.xml index 03fd29709..d8ebd0c22 100644 --- a/chapter03/creatingpart.xml +++ b/chapter03/creatingpart.xml @@ -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 -partition</emphasis> hint at <ulink +<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> -</sect1> +<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> |