While the patch in this bug removes the freeze followed by an attempt to write (always guaranteed to have a lockup!), my testing indicates that this patch doesn't cover all the possible scenarios within grub-install.
And even if this patch was corrected to cover all the scenarios, it will still fail intermittently until the following bug is addressed: http://bugs.debian.org/306966 Because of that kernel bug, some unknown amount of time is needed to wait until everything is synced. The patch to grub-install.in (found in the following bugs) addresses these two issues: http://bugs.debian.org/239111 http://bugs.debian.org/cgi-bin/bugreport.cgi/xfs_freeze.diff?bug=239111&msg=97&att=1 http://bugs.debian.org/243835 http://bugs.debian.org/cgi-bin/bugreport.cgi/xfs_freeze.diff?bug=243835&msg=34&att=1 http://bugs.debian.org/246111 http://bugs.debian.org/cgi-bin/bugreport.cgi/xfs_freeze.diff?bug=246111&msg=35&att=1 -- Encrypted Mail Preferred: Key ID: 8527B9AF Key Fingerprint: E1B6 40B6 B73F 695E 0D3B 644E 6427 DD74 8527 B9AF Information: http://www.gnupg.org/ ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html
signature.asc
Description: Digital signature