diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-07-26 15:12:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 15:12:51 +0200 |
commit | 5763cc6221927132b96e741759b6a5c1c377bae8 (patch) | |
tree | 79922e36b02ab4aa3d264da5e74824922a9583eb /nixos/doc/manual/installation | |
parent | 4d01d2bcb1b8fa2ddf276d1f4e43edbe8bccae00 (diff) | |
parent | f652c8335446a841b4ee5b0be1a0a783e449e743 (diff) |
Merge pull request #232491 from 6t8k/20230517_nixos_manual_installing_partitioning
nixos/manual: rectify partitioning commands for UEFI/GPT
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r-- | nixos/doc/manual/installation/installing.chapter.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md index 53cf9ed14c33a..815bcc071cd9c 100644 --- a/nixos/doc/manual/installation/installing.chapter.md +++ b/nixos/doc/manual/installation/installing.chapter.md @@ -249,14 +249,14 @@ update /etc/fstab. 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} @@ -550,8 +550,8 @@ corresponding configuration Nix expression. ### 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 ``` |