Skip to content
Snippets Groups Projects

Align the partition end sectors and add partition names

Merged nl6720 requested to merge nl6720/arch-boxes:sgdisk-align-end into master
All threads resolved!

sgdisk by default only aligns the partition start. Use the --align-end option to align the partition end too. See https://wiki.archlinux.org/title/Advanced_Format#Partition_alignment. Just to note, this doesn't make the images usable on 4Kn disks.

Additionally:

  • Add PARTLABEL values to all partitions.
  • Do not hardcode the partition number and end sectors in sgdisk commands by using the special value "0".
  • Follow the Discoverable Partitions Specification by using the "Linux x86-64 root" partition type.
  • Do not create a UUID for the swap file.
Edited by nl6720

Merge request reports

Pipeline #59090 passed

Pipeline passed for 76ca7216 on nl6720:sgdisk-align-end

Approval is optional

Merged by Kristian KlausenKristian Klausen 2 years ago (Mar 26, 2023 4:44pm UTC)

Merge details

  • Changes merged into master with b5ca914f.
  • Deleted the source branch.

Pipeline #60425 passed

Pipeline passed for b5ca914f on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • nl6720 resolved all threads

    resolved all threads

  • nl6720 added 1 commit

    added 1 commit

    • 0b81afdd - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 changed the description

    changed the description

  • nl6720 mentioned in merge request !182 (merged)

    mentioned in merge request !182 (merged)

  • nl6720 added 4 commits

    added 4 commits

    • 0b81afdd...dec52b8e - 2 commits from branch archlinux:master
    • 6822ecd3 - Align the partition end sectors and add partition names
    • 41fac2e2 - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 added 4 commits

    added 4 commits

    • 41fac2e2...7a553ea4 - 2 commits from branch archlinux:master
    • 266b1158 - Align the partition end sectors and add partition names
    • 467dd4f9 - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 added 4 commits

    added 4 commits

    • 467dd4f9...19de7099 - 2 commits from branch archlinux:master
    • 0b44567f - Align the partition end sectors and add partition names
    • 4f4fe45e - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 added 2 commits

    added 2 commits

    • 2cc8ab57 - Align the partition end sectors and add partition names
    • c470f8a8 - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 resolved all threads

    resolved all threads

  • nl6720 added 2 commits

    added 2 commits

    • 73300314 - Align the partition end sectors and add partition names
    • 76ca7216 - Do not create a UUID for the swap file

    Compare with previous version

  • nl6720 resolved all threads

    resolved all threads

  • nl6720
  • Kristian Klausen resolved all threads

    resolved all threads

  • mentioned in commit b5ca914f

  • nl6720 mentioned in merge request !189 (merged)

    mentioned in merge request !189 (merged)

  • Please register or sign in to reply
    Loading