summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-04-19 12:39:13 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-19 12:40:11 +0200
commit31b6cdf8d196f36790776f366868fe64932fa23d (patch)
tree9a097b2cfbd955acc355f902b0b1d56473127356 /doc/guix.texi
parentf94bf1983b3da60fdbe176259b19316a547dad07 (diff)
downloadguix-31b6cdf8d196f36790776f366868fe64932fa23d.tar.gz
doc: Mention 'mkswap' during installation.
Reported by Thierry Micoud <thierrymicoud@gmail.com>.

* doc/guix.texi (Preparing for Installation): Mention 'mkswap'.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 4d694c500c..9e634135a8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6040,6 +6040,15 @@ partition):
 mount /dev/sda1 /mnt
 @end example
 
+Finally, if you plan to use one or more swap partitions (@pxref{Memory
+Concepts, swap space,, libc, The GNU C Library Reference Manual}), make
+sure to initialize them with @command{mkswap}.  Assuming you have one
+swap partition on @file{/dev/sda2}, you would run:
+
+@example
+mkswap /dev/sda2
+@end example
+
 @node Proceeding with the Installation
 @subsection Proceeding with the Installation