nixos/doc: Actually fix partitioning instructions. #48025
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The previous tentative to the fix got the order mixed up a bit. This
new fix has been re-verified to get them in the good order as per the
instructions in the following chapters.
First of all: sorry. Next: it's hard trying to write something like that when you automatically fix the wrong inputs in your head! I was not seeing "/dev/sda1", but "the root partition".
The issue was pointed out to me in private by a friend trying NixOS and following the instructions.
This'll need to be backported.
The instructions are verified on qemu with a 100GiB disk.
Now, take a moment and check where the guide wants to create the root filesystem and swap:
# mkfs.ext4 -L nixos /dev/sda1
# mkswap -L swap /dev/sda2
I am verifying that in the next output the vda1 and vda2 partitions are sized as expected.
MBR
GPT
What was done
make format
on the installing.xml file