nixos/doc: add note recommending extra setup before formatting (#560551)

This commit is contained in:
Ihar Hrachyshka
2026-10-14 23:11:37 +00:00
committed by GitHub

View File

@@ -285,6 +285,20 @@ Once complete, you can follow with
#### Formatting {#sec-installation-manual-partitioning-formatting}
[]{#sec-installation-partitioning-formatting} <!-- legacy anchor -->
::: {.note}
If you want to create LVM volumes, encrypted filesystem, or RAID devices,
do it now before formatting.
- For creating LVM volumes, the LVM commands, e.g., `pvcreate`,
`vgcreate`, and `lvcreate`.
- For creating an encrypted filesystem for your *root* partition see
[LUKS encryption](#sec-luks-file-systems).
- For creating software RAID devices, use `mdadm`.
:::
Use the following commands:
- For creating an ext4 partition:
@@ -323,11 +337,6 @@ Use the following commands:
The `-F 32` flag selects the FAT32 filesystem and `-n` assigns the "boot"
label to the partition.
- For creating LVM volumes, the LVM commands, e.g., `pvcreate`,
`vgcreate`, and `lvcreate`.
- For creating software RAID devices, use `mdadm`.
### Installing {#sec-installation-manual-installing}
[]{#sec-installation-installing} <!-- legacy anchor -->