Skip to content
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

Tracking issue for partitioning instructions issues #47602

Closed
samueldr opened this issue Oct 1, 2018 · 4 comments · Fixed by #47697
Closed

Tracking issue for partitioning instructions issues #47602

samueldr opened this issue Oct 1, 2018 · 4 comments · Fixed by #47697

Comments

@samueldr
Copy link
Member

samueldr commented Oct 1, 2018

This is a tracking issue created only to track the different issues and pull requests related to the partitioning instructions in the manual.

The fdisk instructions in the manual may not be working right.

They may show more than one issue, the ordering of the partition may not match the expected ones for the following installation instructions, and the bootable flag might not be set properly.


This issue is meant to track the problem and ask for help in finding a proper resolution. Not asking for others to write up, but asking to see if there would be issues in recommending things other than fdisk.

I, myself, am extremely reluctant into fixing this using other fdisk incantations. They pretty much look like a self-selecting filter by obscurity. I would lean much more towards using parted commands, like our installers tests do. (Though, not using --script).

Interfaces like parted are probably easier to reason about than single-letter commands which's meaning may change again in the future. They would also reduce the verbosity of the steps; it would be a set number of instructions, one per actual action, instead of a list of commands. (One for the disk format, one for setting the boot flag, and one per partition.)

@vcunat
Copy link
Member

vcunat commented Oct 1, 2018

# 46309 is twice in the list – that means you meant to link another fourth issue?

@vcunat
Copy link
Member

vcunat commented Oct 1, 2018

BTW, a couple weeks ago I successfully installed 18.09 (beta) on a machine for Hydra, and I followed our manual for partitioning via fdisk. It was a simple setup, though, so I most likely missed any corner cases.

EDIT: to be clear, I do not at all oppose migrating the instructions to parted...

@grahamc
Copy link
Member

grahamc commented Oct 1, 2018

parted is already in the closure

so we should probably just switch to that anyway, then we don't need to have janky comments describing what the terse commands do.

@7c6f434c
Copy link
Member

7c6f434c commented Oct 2, 2018

I think people who have a preference among these tools need only a line «if you prefer fdisk, it is also available» and maybe an internal link to instructions for installing extra tools in case someone wants sfdisk.

Parted probably has the lowest risk of instructions doing something but not the expected thing.

(and partitioning — or tools with single-letter commands — is not something needed for NixOS use after installation, so the obscurity filter does not even select for people who would be happier NixOS users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants