[Bug 286702] sysutils/grub2-bhyve: fail to boot linux vm with newer ext4fs filesystem flags

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Apr 2026 05:13:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286702

Chun Cheng Yeh <leafoliages@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leafoliages@gmail.com

--- Comment #1 from Chun Cheng Yeh <leafoliages@gmail.com> ---
Created attachment 269276
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269276&action=edit
Patch for grub2-bhyve port

This is a patch made according to the previously mentioned Github PR. It adds a
patch file under `files/` that patches `grub-core/fs/ext2.c` in the grub2-bhyve
repository.

As mentioned in the Github PR, this is a upstream code change that:

1. Adds new ext4 incompatible feature flags
2. Marks them as safe to ignore with reasons given in the comments

grub2-bhyve currently refuses to mount ext4 filesystems if it sees these flags
set. This patch fixes the problem and make ext4 mountable again.

The patch uploaded should be a solution before the Github PR is merged, since
the Github repo is currently not maintained.

- Github PR: https://github.com/grehan-freebsd/grub2-bhyve/pull/18

-- 
You are receiving this mail because:
You are the assignee for the bug.