Skip to content

fix(quickget): resize Batocera image for GPT expansion#1807

Merged
flexiondotorg merged 1 commit intomasterfrom
batocera
Jan 24, 2026
Merged

fix(quickget): resize Batocera image for GPT expansion#1807
flexiondotorg merged 1 commit intomasterfrom
batocera

Conversation

@flexiondotorg
Copy link
Member

Summary

Batocera v41/v42 may fail to boot because the raw image is too small for GPT header relocation and partition expansion during first-boot. The distribution's installer attempts to resize partitions which can cause GPT errors if there's insufficient headroom.

Changes

  • Resize decompressed raw Batocera image to a 128G sparse image (after decompression) so the image has sufficient space for GPT header relocation and subsequent partition expansion.

Why this works

Providing a larger sparse image gives the GPT and partitioning tools room to relocate headers and expand partitions without corrupting the GPT layout. Using a sparse resize keeps the downloaded image small on disk until space is actually used by the guest.

Related Issues

Fixes #1794

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@flexiondotorg flexiondotorg merged commit a2539d3 into master Jan 24, 2026
95 of 96 checks passed
@flexiondotorg flexiondotorg deleted the batocera branch January 24, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: batocera broken

1 participant