aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toastin.space>2019-02-19 21:10:50 -0500
committerChloe Kudryavtsev <toast@toastin.space>2019-02-19 21:10:50 -0500
commitdc36dd663b86805c220d9c076a232a002f6f9198 (patch)
treef08236bc3849028745febea168992720de066b64
parent56ded2fcb4d06fed184cfd6bdc6d2d97923fae14 (diff)
downloaduser-handbook-dc36dd663b86805c220d9c076a232a002f6f9198.tar.bz2
user-handbook-dc36dd663b86805c220d9c076a232a002f6f9198.tar.xz
[Installing] Fix extra 2 -> 3 in parted examples
Also, avoid repetition by defining a variable and reusing it.
-rw-r--r--modules/Installing/pages/manual.adoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/Installing/pages/manual.adoc b/modules/Installing/pages/manual.adoc
index 55c3cdb..1a4fa86 100644
--- a/modules/Installing/pages/manual.adoc
+++ b/modules/Installing/pages/manual.adoc
@@ -321,6 +321,8 @@ In the scenario where the bootloader installation causes problems, see the secti
=== Parted
+:ex_3_sda3: Notice how the `3` in `/dev/sda3` comes from the fact that this is the 3rd partition we created (it also has the 3 in the number in the above planning table).
+
Parted is GNU's PARTition EDitor.
It is a very useful tool that's capable of performing partition editing of various sorts - including the ones we're interested in, both programmatically and interactively.
Because of this, that is the utility we will be using in this section.
@@ -397,7 +399,7 @@ mkswap /dev/sda2
mkfs.ext4 /dev/sda3 <2>
----
<1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
==== BIOS + GPT
@@ -430,7 +432,7 @@ mkswap /dev/sda3 <2>
mkfs.ext4 /dev/sda4
----
<1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
==== UEFI + GPT
@@ -461,7 +463,7 @@ mkswap /dev/sda2
mkfs.ext4 /dev/sda3 <2>
----
<1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
=== Finalizing
// MAINT: setup-disk