Skip to content

eib_image: Use GPT table layout on RPi image - #188

Merged
dsd merged 2 commits into
masterfrom
rpi4-gpt
Oct 13, 2025
Merged

dsd merged 2 commits into
masterfrom
rpi4-gpt

Conversation

@starnight

Copy link
Copy Markdown
Contributor

EOS 7 is going to drop MBR boot support for new installs. So, RPi image should try to use GPT. And, hope this help "Repartitioning fails on first boot" 1.

Because make RPi image using GPT, not MBR anymore, the root partition should mark with flag "LegacyBIOSBootable", instead of the "bootable". And, since here becomes multiple partition attributes, let's put the expected attributes into the rootfs_attrs array, then join the attributes as a string with comma for the command sfdisk.

https://app.asana.com/1/1203676861188277/project/1211061530470838/task/1211572695922980

EOS 7 is going to drop MBR boot support for new installs. So, RPi image
should try to use GPT. And, hope this help "Repartitioning fails on
first boot" [1].

[1]: endlessm/eos-build-meta#86

https://app.asana.com/1/1203676861188277/project/1211061530470838/task/1211572695922980
Commit ("eib_image: Use GPT table layout on RPi image") makes RPi image
using GPT, not MBR anymore. So, the root partition should mark with flag
"LegacyBIOSBootable", instead of the "bootable".

And, since here becomes multiple partition attributes, let's put the
expected attributes into the rootfs_attrs array, then join the
attributes as a string with comma for the command sfdisk.

https://app.asana.com/1/1203676861188277/task/1211572695922980
@starnight
starnight requested a review from dsd October 13, 2025 09:43
@starnight starnight changed the title Rpi4 gpt eib_image: Use GPT table layout on RPi image Oct 13, 2025
@dsd
dsd merged commit 697db61 into master Oct 13, 2025
2 checks passed
@dsd
dsd deleted the rpi4-gpt branch October 13, 2025 11:53
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.

2 participants