Skip to content

Commit 32bddf6

Browse files
committed
fix: docs bootsrtap - swap disk by label (easied copy/paste)
1 parent c30870f commit 32bddf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/start/bootstrapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ partition to `/mnt/boot`:
2020
```console
2121
$ mount /dev/disk/by-label/nixos /mnt
2222
$ mkdir -p /mnt/boot && mount /dev/disk/by-label/boot /mnt/boot # UEFI only
23-
$ swapon /dev/$your_swap_partition
23+
$ swapon /dev/disk/by-label/swap
2424
# add some extra space to the store, it's running on a tmpfs on your RAM
2525
$ mkdir -p /mnt/tmpstore/{work,store}
2626
$ mount -t overlay overlay -olowerdir=/nix/store,upperdir=/mnt/tmpstore/store,workdir=/mnt/tmpstore/work /nix/store

0 commit comments

Comments
 (0)