-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos docs: Update installation partitioner instructions #39942
Conversation
Updating the instructions to match experience - added: ``` > g # <lineannotation>(create an empty GPT table)</lineannotation> ``` - Remove this line, because there's only one partition (so you aren't prompted for the partition number) ``` > 3 # <lineannotation>(... of the boot partition ...)</lineannotation> ``` - for GPT partitions, the bootable option is under `x` (expert mode). I updated the commands to x-A-1 for bootable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge & cherry-pick this onto release-18.03 unless anyone has objections. |
@srl295 I cannot immediately find this -- what does |
@abbradar This is what happens:
|
> x # <lineannotation>(enter expert mode)</lineannotation> | ||
> A # <lineannotation>(make the partition bootable)</lineannotation> | ||
> 1 # <lineannotation>(...partition one, the boot partition)</lineannotation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was partition 1 no the root partition in this example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, this is probably my typo. I was copying from line 108 above which was the last partition mentioned. Probably should be partition 3.
The tests in <nixos/tests/installer.nix> are using `parted`, so they are bound to be better tested than `fdisk`. This is brought on by a couple issues, plus reports on IRC that the `fdisk` instructions didn't work as expected. * NixOS#39354 * NixOS#46309 * NixOS#39942 * NixOS#45478 Care was taken so that the other documented steps did not need changes. In all this kerfufle, a slight re-organization of the Chapter has been made, allowing better deep linking.
The tests in <nixos/tests/installer.nix> are using `parted`, so they are bound to be better tested than `fdisk`. This is brought on by a couple issues, plus reports on IRC that the `fdisk` instructions didn't work as expected. * #39354 * #46309 * #39942 * #45478 Care was taken so that the other documented steps did not need changes. In all this kerfufle, a slight re-organization of the Chapter has been made, allowing better deep linking. (cherry picked from commit 6cfbf40)
Hi! Closing this issue since the partitioning instructions are now re-written for 18.09. (See #47697) |
Updating the instructions to match experience
x
(expert mode). I updated the commands to x-A-1 for bootable.Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)