Bug#239111: Not fixed when I tested it

Robert Millan Robert Millan <rmh@debian.org>, 239111@bugs.debian.org
Sat, 14 Aug 2004 18:42:19 +0200


On Mon, Aug 09, 2004 at 06:00:25PM -0300, Joey Hess wrote:
> 
> I'm afraid I can reproduce this too. With grub -7, the xfs_freeze stuff
> does happen, but the result seems to be that the grub command gets stuck
> in an uninterruptable sleep. I tried thawing the xfs partition after a
> few minutes, and grub happily continued with the install. I see the same
> kind of hang if I freeze an XFS partition and then try to write to it,
> so it seems like running the grub command must somehow be writing to the
> XFS partition as well as accessing it directly. It's seems we're damed
> if we do, and damned if we don't... 
> 
> FWIW, my test was with a system that had a single XFS partition for the
> whole root filesystem, including /boot.
> 
> I thought perhaps it was the redirection of grub's output to a log file
> by grub-install, since writing to a log file when XFS is frozen could
> hang. But even after removing the redirection to $log_file, it still
> hangs. :-(

Hi Joey,

Could you try to mount / as readonly before grub-install is run?

-- 
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))