1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #200180 from Korny666/fix_install_chapter

nixos/doc: correct install summary
This commit is contained in:
Christian Kögler 2022-11-17 17:42:12 +01:00 committed by GitHub
commit de60d387a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View file

@ -455,8 +455,8 @@ OK
<listitem>
<para>
Finally, add a <emphasis>swap</emphasis> partition. The
size required will vary according to needs, here a 8GiB
one is created.
size required will vary according to needs, here a 8GB one
is created.
</para>
<programlisting>
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
@ -814,8 +814,8 @@ $ passwd eelco
</para>
<programlisting>
# parted /dev/sda -- mklabel msdos
# parted /dev/sda -- mkpart primary 1MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
# parted /dev/sda -- mkpart primary 1MB -8GB
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
</programlisting>
<anchor xml:id="ex-partition-scheme-UEFI" />
<para>
@ -824,9 +824,9 @@ $ passwd eelco
</para>
<programlisting>
# parted /dev/sda -- mklabel gpt
# parted /dev/sda -- mkpart primary 512MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
# parted /dev/sda -- mkpart primary 512MB -8GB
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
# parted /dev/sda -- mkpart ESP fat32 1MB 512MB
# parted /dev/sda -- set 3 esp on
</programlisting>
<anchor xml:id="ex-install-sequence" />

View file

@ -307,7 +307,7 @@ update /etc/fstab.
```
4. Finally, add a *swap* partition. The size required will vary
according to needs, here a 8GiB one is created.
according to needs, here a 8GB one is created.
```ShellSession
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
@ -543,8 +543,8 @@ corresponding configuration Nix expression.
:::
```ShellSession
# parted /dev/sda -- mklabel msdos
# parted /dev/sda -- mkpart primary 1MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
# parted /dev/sda -- mkpart primary 1MB -8GB
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
```
:::
@ -554,9 +554,9 @@ corresponding configuration Nix expression.
:::
```ShellSession
# parted /dev/sda -- mklabel gpt
# parted /dev/sda -- mkpart primary 512MiB -8GiB
# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
# parted /dev/sda -- mkpart primary 512MB -8GB
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
# parted /dev/sda -- mkpart ESP fat32 1MB 512MB
# parted /dev/sda -- set 3 esp on
```
:::