diff options
| author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-08-16 05:26:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-16 05:26:52 +0100 |
| commit | 09ec15134a4175c7c372f3c0af47ce61694c7523 (patch) | |
| tree | 8f3e36ae0ca17bfb912c1f8679f2fb9415f1efe2 | |
| parent | Merge pull request #186855 from NixOS/backport-185016-to-release-22.05 (diff) | |
| parent | nixos/doc/installation: fix alignment of created partitions (diff) | |
| download | nixpkgs-09ec15134a4175c7c372f3c0af47ce61694c7523.tar.gz | |
Merge pull request #186890 from NixOS/backport-171562-to-release-22.05
[Backport release-22.05] 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 aee0b30a7076..fb8d3a4c5eb1 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 8a46d68ae3ba..5991a6cb26a1 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} |
