--- vanilla/usr/sbin/grub-install	2009-04-30 12:48:13.000000000 +0200
+++ patched/usr/sbin/grub-install	2009-04-30 12:49:29.000000000 +0200
@@ -371,7 +371,7 @@
 sync
 
 # On XFS, sync() is not enough.
-if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then
+if [ `grub-probe --device-map=${device_map} -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.
