Linda A. Walsh wrote:
> I just saw this bug, https://bugzilla.novell.com/show_bug.cgi?id=459792,
> that reports a problem in OpenSUSE with Grub being unable to boot with
> XFS when someone upgraded from OpenSuSE11.0 to OpenSuSE11.1.
> Grub is unable to start if /boot is on xfs partition.
> Found after updating from 11.0 to 11.1.
Well, I see we have a thread...
Grub makes bad assumptions about what it can do to a filesystem, and the
problems lie with reading directly from and writing directly to a
filesystem's block device while it's -mounted-, when grub is being
Sometimes this even trips up ext3 as well, but the problem is more
obvious with xfs. If you look at all the sync sync sync sleeps in grub
you'll see that they are desperately trying to make the block device
coherent with the filesystem, which they simply cannot do with syncs and
sleeps. Some distros have tried adding xfs_freeze calls to quiesce the
filesystem, and when this can be done, it generally works, but it'd be
better if grub would just not do IO to the device while it's mounted, in
That being said, hch's recent xfs sync changes should make this much
more likely to succeed in the future at least, despite grub's notions of