Merge pull request #232491 from 6t8k/20230517_nixos_manual_installing_partitioning

nixos/manual: rectify partitioning commands for UEFI/GPT

Changed files
+4 -4
nixos
doc
manual
installation
+4 -4
nixos/doc/manual/installation/installing.chapter.md
···
which will be used by the boot partition.
```ShellSession
-
# parted /dev/sda -- mkpart primary 512MB -8GB
+
# parted /dev/sda -- mkpart root ext4 512MB -8GB
```
3. Next, add a *swap* partition. The size required will vary according
to needs, here a 8GB one is created.
```ShellSession
-
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
+
# parted /dev/sda -- mkpart swap linux-swap -8GB 100%
```
::: {.note}
···
### Example partition schemes for NixOS on `/dev/sda` (UEFI)
```ShellSession
# parted /dev/sda -- mklabel gpt
-
# parted /dev/sda -- mkpart primary 512MB -8GB
-
# parted /dev/sda -- mkpart primary linux-swap -8GB 100%
+
# parted /dev/sda -- mkpart root ext4 512MB -8GB
+
# parted /dev/sda -- mkpart swap linux-swap -8GB 100%
# parted /dev/sda -- mkpart ESP fat32 1MB 512MB
# parted /dev/sda -- set 3 esp on
```