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

Format NVMe automatically with 512B block size. #2

Open
wants to merge 1 commit into
base: 2022.02.x-yellow-installer
Choose a base branch
from

Conversation

macronet
Copy link

Make sure we're using 512B logical block size with NVMe, image-installation fails if logical block size is 4096B.

Tried to install on 4096B formatted NVMe (SN850 on Yellow PoE with CM4 2GB Lite) and it failed silently (looked like successful installation, just steady green+red on next boot).

Caveat: I don't have a NVMe-disk without 512B block size support so cannot confirm does format actually error out.

Other option (instead of just plain formatting with -b 512) would be to interrogate NVMe which lbaf formats it has and check if lbads:9 is missing completely.

(pull-request-retry: renamed branch, refined patch & author-data)

Make sure we're using 512B logical block size with NVMe, image-installation fails if logical block size is 4096B.
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.

1 participant