Here's a patch to skip grub entirely if root is xfs.
--- debian/isinstallable (revision 21259)
+++ debian/isinstallable (working copy)
@@ -10,6 +10,7 @@
bootfs=$(findfs /boot)
[ -n "$bootfs" ] || bootfs="$(findfs /)"
+
# Check for the control file to work around lvdisplay refusal to work with
# certian lvm device names.
if lvdisplay "$bootfs" >/dev/null 2>&1 || [ -e "$(dirname $bootfs)/control" ]; then
@@ -17,4 +18,11 @@
exit 1
fi
+# Grub has issues installing to xfs. Sometimes it works, sometimes it
+# hangs. Until this is fixed in grub (#243835), skip it.
+if [ "$bootfs" = "xfs" ]; then
+ log "/boot is a XFS filesystem, cannot safely install grub"
+ exit 1
+fi
+
However, I have not applied this, because in my testing tonight, grub
happily installed to xfs with no hang.
--
see shy jo
Attachment:
signature.asc
Description: Digital signature