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

Add EXT4_FEATURE_INCOMPAT_CSUM_SEED to EXT2_DRIVER_IGNORED_INCOMPAT #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markpeek
Copy link

After installing alpine-standard-3.20.1-x86_64.iso into a bhyve VM, grub did not recognize the filesystem and would not boot. This was caused by the filesystem using the metadata_csum_seed feature that was not supported by this version of grub.

This is from the installed alpine (note the "metadata_csum_seed"):

# dumpe2fs /dev/vda3 | grep "Filesystem feature"
dumpe2fs 1.47.0 (5-Feb-2023)
Filesystem features:      has_journal ext_attr resize_inode dir_index orphan_file filetype needs_recovery extent 64bit flex_bg metadata_csum_seed sparse_super large_file huge_file dir_nlink extra_isize metadata_csum orphan_present

The upstream code has this change here:
https://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/ext2.c#n118

Note: it might make sense to add the other ignored FEATURES (*_MMP and *LARGEDIR) as well.

After installing alpine-standard-3.20.1-x86_64.iso into a bhyve VM
grub did not recognize the filesystem and would not boot. This was
caused by the filesystem using the metadata_csum_seed feature that
was not supported by this version of grub.
@grehan-freebsd
Copy link
Owner

Just to confirm: that was the only change required for Alpine to boot ?

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