GPT PMBR size mismatch on generated image
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- shell
調査の方向性
mkrootfs.sh、mkplatformfs.sh、mkimage.sh を使用して Pinebook Pro のイメージを再現し、その後、SD カードへの書き込み前後に、生成されたイメージを fdisk で調べます。生成された GPT とパーティション境界を対象デバイスのサイズと比較し、ディスクを集中的に使用した場合やパーティションを変更した場合にも信頼性が維持されるかを検証します。イメージが GPT PMBR の不一致を報告しなくなり、有効なパーティション変更後も起動し続ければ完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Shell
- スター
- 520
- フォーク
- 276
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
void-linux/void-mklive のほかの issue
-
Network selectionオープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
void-linux/void-mklive#461 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
void-linux/void-mklive#457 ·
-
Keyboard layout chosen in void-installer is not preserved after first boot for both LightDM and XFCEオープンenhancement installer
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
void-linux/void-mklive#455 · コメント 3 件 ·
-
enhancement installer
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
void-linux/void-mklive#444 · コメント 4 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
void-linux/void-mklive#440 ·
void-linux/void-mklive の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zerocracy/judges-action#2733 ·
メンテナーはふだん 8 日以内に返信
-
dependencies feature github_actions good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
wemake-services/wemake-django-template#3149 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
crazy-goat/rabbit-stream#830 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
luainkernel/lunatik#1853 ·
メンテナーはふだん 1 日以内に返信