aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/creatingpartition.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter02/creatingpartition.xml')
-rw-r--r--chapter02/creatingpartition.xml45
1 files changed, 19 insertions, 26 deletions
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index 02d6528b1..672c2efb5 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -15,21 +15,6 @@
is to use an available empty partition or, if you have enough unpartitioned
space, to create one.</para>
-<!--
-
- <para>It is possible to install an LFS system (in fact even multiple LFS
- systems) on a partition already occupied by another
- operating system and the different systems will co-exist peacefully. The
- document <ulink url="&hints-root;lfs_next_to_existing_systems.txt"/>
- contains notes on how to implement this. This document was last updated
- in 2004. It has not been updated since and it has not been tested with
- recent versions of this LFS book. The document is more than likely not
- usable as-is and you will need to account for changes made to the LFS
- procedures since it was written. This is only recommended for expert LFS
- users.</para>
-
--->
-
<para>A minimal system requires a partition of around 10 gigabytes (GB).
This is enough to store all the source tarballs and compile the packages.
However, if the LFS system is intended to be the primary Linux system,
@@ -77,7 +62,7 @@
<title>Other Partition Issues</title>
<para>Requests for advice on system partitioning are often posted on the LFS mailing
- lists. This is a highly subjective topic. The default for most distributions
+ lists. This is a highly subjective topic. The default for most distributions
is to use the entire drive with the exception of one small swap partition. This
is not optimal for LFS for several reasons. It reduces flexibility, makes
sharing of data across multiple distributions or LFS builds more difficult, makes
@@ -89,7 +74,7 @@
<para>A root LFS partition (not to be confused with the
<filename class="directory">/root</filename> directory) of
- ten gigabytes is a good compromise for most systems. It provides enough
+ twenty gigabytes is a good compromise for most systems. It provides enough
space to build LFS and most of BLFS, but is small enough so that multiple
partitions can be easily created for experimentation.</para> </sect3>
@@ -102,13 +87,21 @@
hold the swap partition to two gigabytes and monitor the amount of disk
swapping.</para>
- <para>Swapping is never good. Generally you can tell if a system is
- swapping by just listening to disk activity and observing how the system
- reacts to commands. The first reaction to swapping should be to check for
- an unreasonable command such as trying to edit a five gigabyte file. If
- swapping becomes a normal occurrence, the best solution is to purchase more
- RAM for your system.</para>
- </sect3>
+ <para>If you want to use the hibernation feature (suspend-to-disk) of Linux,
+ it writes out the contents of RAM to the swap partition before turning off
+ the machine. In this case the size of the swap partition should be at
+ least as large as the system's installed RAM.</para>
+
+ <para>Swapping is never good. For mechanical hard drives you can generally
+ tell if a system is swapping by just listening to disk activity and
+ observing how the system reacts to commands. For an SSD drive you will not
+ be able to hear swapping but you can tell how much swap space is being used
+ by the <command>top</command> or <command>free</command> programs. Use of
+ an SSD drive for a swap partition should be avoided if possible. The first
+ reaction to swapping should be to check for an unreasonable command such as
+ trying to edit a five gigabyte file. If swapping becomes a normal
+ occurrence, the best solution is to purchase more RAM for your
+ system.</para> </sect3>
<sect3>
<title>The Grub Bios Partition</title>
@@ -140,7 +133,7 @@
<listitem><para>/boot &ndash; Highly recommended. Use this partition to
store kernels and other booting information. To minimize potential boot
problems with larger disks, make this the first physical partition on
- your first disk drive. A partition size of 100 megabytes is quite
+ your first disk drive. A partition size of 200 megabytes is quite
adequate.</para></listitem>
<listitem><para>/home &ndash; Highly recommended. Share your home
@@ -150,7 +143,7 @@
<listitem><para>/usr &ndash; A separate /usr partition is generally used
if providing a server for a thin client or diskless workstation. It is
- normally not needed for LFS. A size of five gigabytes will handle most
+ normally not needed for LFS. A size of ten gigabytes will handle most
installations.</para></listitem>
<listitem><para>/opt &ndash; This directory is most useful for