Created attachment 537282 [details, diff] grub patch for xfs sparse inode support grub 2.02 fails to recognize newly-created XFS filesystems, as xfsprogs from 4.16.0 and up creates XFS filesystems with sparse inodes by default, which aren't recognized properly by any released upstream grub version. The relevant upstream bug is here: https://savannah.gnu.org/bugs/?48645 And the patch it contains is here: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=cda0a857dd7a27cd5d621747464bfe71e8727fff This patch also seems to have been applied by fedora according to https://src.fedoraproject.org/cgit/rpms/grub2.git/tree/0250-xfs-accept-filesystem-with-sparse-inodes.patch I have tested this patch myself and haven't encountered any problem with it. I'm attaching it to this bug for easier reference. I suggest for it to be added to the patchset applied on top of grub 2.02, and for a sys-boot/grub-2.02-r2 ebuild to be released with it accordingly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74dfccb5ec0da32830673621abcce6e156177b83 commit 74dfccb5ec0da32830673621abcce6e156177b83 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-06-26 14:44:54 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-06-26 14:45:15 +0000 sys-boot/grub: support XFS sparse inodes Closes: https://bugs.gentoo.org/659242 Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247 sys-boot/grub/files/2.02-xfs-sparse-inodes.patch | 60 +++++ sys-boot/grub/grub-2.02-r2.ebuild | 312 +++++++++++++++++++++++ 2 files changed, 372 insertions(+)