Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPT PMBR size mismatch on generated image #246

Open
rudism opened this issue Apr 3, 2022 · 1 comment
Open

GPT PMBR size mismatch on generated image #246

rudism opened this issue Apr 3, 2022 · 1 comment

Comments

@rudism
Copy link

rudism commented Apr 3, 2022

I'm trying to build an image for the Pinebook Pro, doing the following:

> sudo ./mkrootfs.sh -o aarch64latest aarch64
> sudo ./mkplatformfs.sh pinebookpro aarch64latest
> sudo ./mkimage.sh void-pinebookpro-PLATFORMFS-20220403.tar.xz

This all completes without any errors, but when I write the resulting image to an SD card and then open that SD card with fdisk, it gives this error message:

> xzcat void-pinebookpro-20220403.img.xz | dd of=/dev/sde bs=4M status=progress
> sudo fdisk /dev/sde

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

GPT PMBR size mismatch (4194303 != 125173759) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write.

The SD card boots OK in the Pinebook Pro, but it will freeze up if I do anything disk intensive, and if I make any changes in fdisk (such as recreating the root partition to increase its size, or creating new partitions) then the SD card no longer boots.

Not sure if I'm doing something wrong when generating the image, or if there is actually a problem.

@rudism
Copy link
Author

rudism commented Apr 3, 2022

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

No branches or pull requests

1 participant