tags 239111 patch thanks Hi,
Please could you try the attached patch, and confirm that it works? Thanks -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
diff -ur grub-0.97/util/grub-install.in grub-0.97.new/util/grub-install.in --- grub-0.97/util/grub-install.in 2004-07-24 20:57:31.000000000 +0200 +++ grub-0.97.new/util/grub-install.in 2009-01-13 12:18:43.000000000 +0100 @@ -450,6 +450,17 @@ # Create a safe temporary file. test -n "$mklog" && log_file=`$mklog` +# GRUB will try to verify that stage2 is accessible using its own +# filesystem drivers. Make sure it's committed to disk. +sync + +# On XFS, sync() is not enough. +if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then + xfs_freeze -f ${grubdir} && xfs_freeze -u ${grubdir} + # We don't have set -e. If xfs_freeze failed, it's worth trying anyway, + # maybe we're lucky. +fi + # Now perform the installation. $grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file root $root_drive