osbuild / osbuild/image-builder

Custom partition table creation fixes and improvements

Open
#1,091 2 comments 0 reactions 1 assignee View on GitHub

@achilleas-k is already working on this.

Since Dec 10, 2024.

Dominant language
Go
Stars
77
Forks
103
Avg merge
3d 6h
Merged PRs (30d)
53

Description

  • We use ef02 for the BIOS boot partition on MBR/DOS. This is incorrect. The BIOS boot partition on MBR is actually not required. We may keep it for consistency (probably not the right thing to do) and, if we do, we should change the type.
    • Type changed to 00 empty, but it's still partitioned space.
      • #1085
  • Change ef00 for ESP on DOS to ef.
    • #1085
  • Produce errors when more than 4 partitions are created on MBR PTs.
    • #1085
  • When a fs_type is missing, the error message is not helpful: invalid partitioning customizations: unknown or invalid filesystem type for mountpoint "/var" We should somehow mention that the field is called fs_type.
    • #1097
  • Use partition type ID constants everywhere (https://github.com/osbuild/images/pull/1085#discussion_r1878194098).
    • #1099

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.