2015-02-21 04:18:37 |
Peter Cordes |
bug |
|
|
added bug |
2015-02-21 04:23:39 |
Peter Cordes |
description |
Filing a note here in case I forget later.
It looks like GRUB in 14.10 doesn't support XFS's new on-disk metadata format that has CRCs. (rationale: https://www.kernel.org/doc/Documentation/filesystems/xfs-self-describing-metadata.txt)
redhat bug with some patches from Dec 2014:
https://bugzilla.redhat.com/show_bug.cgi?id=1001279
I haven't yet dug up any changelogs about those patches getting merged into GRUB's upstream git repo.
If there's a PPA, or an easy way to build a .deb from git master (or some other way I can easily test git master on an Ubuntu system), I'd be interested and willing to test this. |
Filing a note here in case I forget later.
It looks like GRUB (2.02-beta2-15) in 14.10 doesn't support XFS's new on-disk metadata format that has CRCs. (rationale: https://www.kernel.org/doc/Documentation/filesystems/xfs-self-describing-metadata.txt)
mkfs.xfs -m crc=1,finobt=1 /dev/sdXY creates an XFS with the new on-disk format. This is NOT the default, and probably won't be until kernel support for it has been in distros for a while.
redhat bug with some patches from Dec 2014:
https://bugzilla.redhat.com/show_bug.cgi?id=1001279
I haven't yet dug up any changelogs about those patches getting merged into GRUB's upstream git repo.
If there's a PPA, or an easy way to build a .deb from git master (or some other way I can easily test git master on an Ubuntu system), I'd be interested and willing to test this.
(It's possible I'm mistaken here, and my boot problem was from using RAID10,f2, rather than from XFS with crc=1. testing now.) |
|
2015-02-22 06:16:44 |
Peter Cordes |
description |
Filing a note here in case I forget later.
It looks like GRUB (2.02-beta2-15) in 14.10 doesn't support XFS's new on-disk metadata format that has CRCs. (rationale: https://www.kernel.org/doc/Documentation/filesystems/xfs-self-describing-metadata.txt)
mkfs.xfs -m crc=1,finobt=1 /dev/sdXY creates an XFS with the new on-disk format. This is NOT the default, and probably won't be until kernel support for it has been in distros for a while.
redhat bug with some patches from Dec 2014:
https://bugzilla.redhat.com/show_bug.cgi?id=1001279
I haven't yet dug up any changelogs about those patches getting merged into GRUB's upstream git repo.
If there's a PPA, or an easy way to build a .deb from git master (or some other way I can easily test git master on an Ubuntu system), I'd be interested and willing to test this.
(It's possible I'm mistaken here, and my boot problem was from using RAID10,f2, rather than from XFS with crc=1. testing now.) |
Filing a note here in case I forget later.
It looks like GRUB (2.02-beta2-15) in 14.10 doesn't support XFS's new on-disk metadata format that has CRCs. (rationale: https://www.kernel.org/doc/Documentation/filesystems/xfs-self-describing-metadata.txt)
mkfs.xfs -m crc=1,finobt=1 /dev/sdXY creates an XFS with the new on-disk format. This is NOT the default, and probably won't be until kernel support for it has been in distros for a while.
redhat bug with some patches from Dec 2014:
https://bugzilla.redhat.com/show_bug.cgi?id=1001279
I haven't yet dug up any changelogs about those patches getting merged into GRUB's upstream git repo.
If there's a PPA, or an easy way to build a .deb from git master (or some other way I can easily test git master on an Ubuntu system), I'd be interested and willing to test this.
Testing confirms that xfs crc support was the issue. I made two plain non-MD partitions to take that out of the equation. I formatted one with XFS defaults, and the other with XFS crc. I copied my fresh ubuntu install into each one. I did grub-install /dev/sda while chrooted into the non-crc xfs, and grub-install /dev/sdb in the CRC one. Booting from sda worked fine.
Booting from sdb (I can tell them apart in the bios boot menu easily, because they're not the same make), I was dropped into the grub rescue shell. I could use grub's ls to see data on the non-crc partition, but not on the crc partition. So it's clear that GRUB doesn't understand the new XFS metadata v5 format. |
|
2015-05-05 03:38:21 |
Mathieu Trudel-Lapierre |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1001279 |
|
2015-05-05 03:38:21 |
Mathieu Trudel-Lapierre |
bug task added |
|
grub2 (Fedora) |
|
2015-05-05 03:40:34 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu): status |
New |
Triaged |
|
2015-05-05 03:40:37 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu): importance |
Undecided |
Low |
|
2015-05-11 08:47:28 |
Per Sedholm |
bug |
|
|
added subscriber Per Sedholm |
2017-10-27 07:01:44 |
Bug Watch Updater |
grub2 (Fedora): status |
Unknown |
Fix Released |
|
2017-10-27 07:01:44 |
Bug Watch Updater |
grub2 (Fedora): importance |
Unknown |
Undecided |
|
2024-06-27 10:16:22 |
Mate Kukri |
grub2 (Ubuntu): status |
Triaged |
Fix Released |
|