aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03
diff options
context:
space:
mode:
Diffstat (limited to 'chapter03')
-rw-r--r--chapter03/creatingfs.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter03/creatingfs.xml b/chapter03/creatingfs.xml
index d78db47db..269802ea9 100644
--- a/chapter03/creatingfs.xml
+++ b/chapter03/creatingfs.xml
@@ -16,5 +16,14 @@ url="http://beyond.linuxfromscratch.org/view/cvs/postlfs/filesystems.html"/>.</p
<para>Replace <filename>xxx</filename> with the name of the LFS partition
(something like <filename>hda5</filename>).</para>
+<para>If you created a (new) swap partition you need to initialize it as a
+swap partition too (also known as formatting, like you did above with
+<userinput>mke2fs</userinput>) by running:</para>
+
+<para><screen><userinput>mkswap /dev/yyy</userinput></screen></para>
+
+<para>Replace <filename>yyy</filename> with the name of the swap
+partition.</para>
+
</sect1>