Bug#239111: grub: Some explanation, seems to be useful

Peter Gervai grin at grin.hu
Tue Jan 23 15:54:07 CET 2007


Package: grub
Version: 0.97-20
Followup-For: Bug #239111

Okay, some background, since I got this error using FAI and
was bitten pretty hard.

grub-install freeze xfs, then executes grub command:
> setup  --stage2=/tmp/target/boot/grub/stage2 --prefix=/boot/grub (hd0)
which in fact does:
 Running "install --stage2=/tmp/target/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... 

Tough, because 'p' means to patch stage2, which sits on the partition we
just freezed... so it waits till spring (thawing, ehm :)).

And by the way you try to write a logfile there, too. If /tmp is on the same
partition as /boot, you frozen it just as well. Bad luck.

So we can't keep stage2 frozen, and should not write logfile when frozen.

Patches may have already addressed it, I didn't have the time to read through 
all the bugreports so far, but this is the reason for the trouble.




More information about the Pkg-grub-devel mailing list