diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-08-16 05:05:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 05:05:13 +0100 |
commit | e8e20bc30c23c6f2e3d25d47d283f5edc58b2155 (patch) | |
tree | ef820f0c1a028ef40a7fea89d3b68094a9f62123 | |
parent | e392ab57adfd19fc676c63fa04d5515eafcd2681 (diff) | |
parent | f18befaaf4cdb84e20da306ea853e497f4fe4bdf (diff) |
Merge pull request #171562 from Mic92/nixos-docs
nixos/doc/installation: fix alignment of created partitions
-rw-r--r-- | nixos/doc/manual/from_md/installation/installing.chapter.xml | 12 | ||||
-rw-r--r-- | nixos/doc/manual/installation/installing.chapter.md | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/nixos/doc/manual/from_md/installation/installing.chapter.xml b/nixos/doc/manual/from_md/installation/installing.chapter.xml index 0fcbcf2e66c27..0112458674b53 100644 --- a/nixos/doc/manual/from_md/installation/installing.chapter.xml +++ b/nixos/doc/manual/from_md/installation/installing.chapter.xml @@ -177,17 +177,17 @@ OK the boot partition. </para> <programlisting> -# parted /dev/sda -- mkpart primary 512MiB -8GiB +# parted /dev/sda -- mkpart primary 512MB -8GB </programlisting> </listitem> <listitem> <para> Next, add a <emphasis>swap</emphasis> partition. The size - required will vary according to needs, here a 8GiB one is + required will vary according to needs, here a 8GB one is created. </para> <programlisting> -# parted /dev/sda -- mkpart primary linux-swap -8GiB 100% +# parted /dev/sda -- mkpart primary linux-swap -8GB 100% </programlisting> <note> <para> @@ -204,7 +204,7 @@ OK reserved 512MiB at the start of the disk. </para> <programlisting> -# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB +# parted /dev/sda -- mkpart ESP fat32 1MB 512MB # parted /dev/sda -- set 3 esp on </programlisting> </listitem> @@ -242,7 +242,7 @@ OK live. </para> <programlisting> -# parted /dev/sda -- mkpart primary 1MiB -8GiB +# parted /dev/sda -- mkpart primary 1MB -8GB </programlisting> </listitem> <listitem> @@ -252,7 +252,7 @@ OK created. </para> <programlisting> -# parted /dev/sda -- mkpart primary linux-swap -8GiB 100% +# parted /dev/sda -- mkpart primary linux-swap -8GB 100% </programlisting> <note> <para> diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md index dd7f883bb3c30..7254f9d18406f 100644 --- a/nixos/doc/manual/installation/installing.chapter.md +++ b/nixos/doc/manual/installation/installing.chapter.md @@ -133,14 +133,14 @@ update /etc/fstab. which will be used by the boot partition. ```ShellSession - # parted /dev/sda -- mkpart primary 512MiB -8GiB + # parted /dev/sda -- mkpart primary 512MB -8GB ``` 3. Next, add a *swap* partition. The size required will vary according - to needs, here a 8GiB one is created. + to needs, here a 8GB one is created. ```ShellSession - # parted /dev/sda -- mkpart primary linux-swap -8GiB 100% + # parted /dev/sda -- mkpart primary linux-swap -8GB 100% ``` ::: {.note} @@ -153,7 +153,7 @@ update /etc/fstab. reserved 512MiB at the start of the disk. ```ShellSession - # parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB + # parted /dev/sda -- mkpart ESP fat32 1MB 512MB # parted /dev/sda -- set 3 esp on ``` @@ -180,14 +180,14 @@ update /etc/fstab. end part, where the swap will live. ```ShellSession - # parted /dev/sda -- mkpart primary 1MiB -8GiB + # parted /dev/sda -- mkpart primary 1MB -8GB ``` 3. Finally, add a *swap* partition. The size required will vary according to needs, here a 8GiB one is created. ```ShellSession - # parted /dev/sda -- mkpart primary linux-swap -8GiB 100% + # parted /dev/sda -- mkpart primary linux-swap -8GB 100% ``` ::: {.note} |