Bug 1001279 - grub2 can't boot new xfs CRC-capable disk format
grub2 can't boot new xfs CRC-capable disk format
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grub2 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Peter Jones
Release Test Team
: 1220844 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2013-08-26 16:13 EDT by Eric Sandeen
Modified: 2015-11-19 07:23 EST (History)
8 users (show)

See Also:
Fixed In Version: grub2-2.02-0.17.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-11-19 07:23:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eric Sandeen 2013-08-26 16:13:26 EDT
From the XFS list:

> Just a heads-up: GRUB currently doesn't work on a CRC enabled
> file-system. It will print the following error message:
> "not a correct XFS inode"

This format is still WIP upstream, but we should probably have the issue on the RHEL7 radar since we plan to default to XFS even for /boot.

A simple workaround would be to not enable CRCs for the root fs; this may be done by default in any case.

So this bug may be a WONTFIX or NOTABUG, but I figured we should at least log the issue.

Comment 1 Ric Wheeler 2013-09-05 12:51:02 EDT
We probably do want this support in though - I can imagine we might not always need a broken out /boot?
Comment 3 Peter Jones 2014-12-15 10:37:15 EST
At the very least can we get a pointer here to some details about the FS feature?
Comment 4 Eric Sandeen 2014-12-15 12:42:24 EST
on-disk format stuff has recently been coalesced into libxfs/xfs_format.h


Other than that, we maybe need to do some buddy coding to do this, as I don't think either grub2 or xfs has great up-to-date documentation...

For starters I assume grub2 could just grok new formats, but skip the actual CRC verification... things haven't changed *that* much.

Comment 5 Zach Brown 2014-12-15 13:16:41 EST


wget http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/src/grub2-2.02~beta2-201.4.src.rpm

rpm2cpio grub2-2.02~beta2-201.4.src.rpm  | cpio -id

ls *xfs*

Comment 8 Peter Jones 2015-06-09 10:50:36 EDT
*** Bug 1220844 has been marked as a duplicate of this bug. ***
Comment 11 Winfrid Tschiedel 2015-09-13 07:27:24 EDT
I have tested grub2-2.02-0.23.fc23.x86_64 installed on an Fedora 21

I succeeded in booting a CentOS 7 with XFS from the fedora boot menu,
but I still cannot boot a SLED 12 with XFS from the fedora boot menu.

Using my openSUSE 13.2 I can boot CentOS 7 and SLED 12.

If you need more information, please advise me, how to create a log from grub2.
Comment 12 errata-xmlrpc 2015-11-19 07:23:23 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.