mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
nixos/doc: add note recommending extra setup before formatting (#560551)
This commit is contained in:
@@ -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 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user