Skip to content

Tracking issue for partitioning instructions issues #47602

Closed

Description

@samueldr

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.)

Activity

  1. added
    1.severity: blocker
    9.needs: documentation
    on Oct 1, 2018
  2. added this to the 18.09 milestone on Oct 1, 2018
  3. added
    9.needs: community feedback
    on Oct 1, 2018
  4. vcunat commented on Oct 1, 2018

    @vcunat
    Member

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

  5. vcunat commented on Oct 1, 2018

    @vcunat
    Member

    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...

  6. grahamc commented on Oct 1, 2018

    @grahamc
    Member

    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.

  7. 7c6f434c commented on Oct 2, 2018

    @7c6f434c
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.severity: blocker9.needs: community feedback9.needs: documentation

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions