OK, here's a simpler/better version of the patch I had before, putting
in a delay after the sync, and only in the place it was getting a
block-map from the disk.

This isn't a true fix, but it's something that should work for
pretty much everything as a decent work-around for now.

------------------------(start patch)-----------------------
--- grub.orig/util/grub-install.in      Mon Oct 22 16:46:07 2001
+++ grub/util/grub-install.in   Sat Oct 27 13:06:33 2001
@@ -318,6 +322,10 @@
 # Create a safe temporary file.
 test -x /bin/tempfile && log_file=`tempfile --prefix=grub`

+# Before invoking the grub shell to get a blocklist, call sync then sleep
+# to make sure metadata journaled FS's have some time to sync up.
+sync ; sleep 2
+
 # Now perform the installation.
 $grub_shell --batch --device-map=$device_map <<EOF >$log_file
 root $root_drive
------------------------(end patch)-----------------------

--
    Erich Stefan Boleyn     <[EMAIL PROTECTED]>     http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to