hexdump0815 / imagebuilder

velvet os - simple script framework to build ubuntu 22.04 lts jammy (in older versions also 20.04 lts focal) and debian 12 bookworm (in older versions also 11 bullseye) bootable usb / sd card images for some arm and intel devices - lots of prebuilt images as well
GNU General Public License v3.0
298 stars 44 forks source link

chromebook_veyron: problem: cgpt error when creating partition on veyron-speedy (C201) #144

Open gregordinary opened 1 year ago

gregordinary commented 1 year ago

Issue Using Feb 18th image and following steps to install to emmc for veyron, the following command:

root@changeme:~# cgpt create /dev/$TGTDEV

Results in the following error:

> ERROR: Can't seek: Invalid argument
> ERROR: Cannot read secondary GPT header

Cause The issue seems to be with the version of cgpt bundled with Bookworm (and Sid).

Solution Fix was to downgrade to the version bundled with Bullseye. After doing so I was able to execute the cgpt commands successfully.

Source for Resolution Same/similar issue was identified on Cadmium Linux.

hexdump0815 commented 1 year ago

@gregordinary - thanks a lot for the feedback ... i'll try to find a solution of how to handle it for future images

hexdump0815 commented 11 months ago

fyi: as a temporary solution i have now at least added some info and the workaround here - https://github.com/hexdump0815/imagebuilder/blob/main/doc/important-information.md#23-09-25-cgpt-seems-to-be-broken-on-32bit-armv7l-systems-in-debian-bookworm