xfs
[Top] [All Lists]

grub fails boot after update

To: xfs@xxxxxxxxxxx
Subject: grub fails boot after update
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Tue, 1 Jul 2008 17:15:40 +0200 (CEST)
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

From Novell Bugzilla, I gather that XFS has a serious problem with grub. 
Since I'd like to keep XFS for the time being, is there any way to fix 
this issue, or make dead sure that a given file is on disk?
Like ioctl(fd, XFS_FLUSH_I_MEAN_IT)?


---------- Forwarded message ----------
https://bugzilla.novell.com/show_bug.cgi?id=223773

--- Comment #39  2008-07-01 08:44:49 MDT ---
I agree with comment #37: XFS really does suck, especially when it comes to
booting Linux on a PC. Fortunately we do not support it any more for new
installations, an ext2 /boot partition is highly recommended.

The problem is that with XFS, sync(2) returns, but the data isn't synced.
The first time yast calls grub install, grub does not find the new stage1.5,
because it is not on the disk yet, despite a successful sync; thus it modifies
stage2 to do the job. On the second invocation, stage1.5 is found and
installed, but stage2 already is modified.

So once again this isn't a grub bug, but an XFS bug with FS semantics.


<Prev in Thread] Current Thread [Next in Thread>