Random kernel update breakage
mrsam at courier-mta.com
Wed Aug 25 23:18:28 UTC 2010
Michael Schwendt writes:
> My theory is that if the MBR is unmodified when the problem is encountered,
> something may have moved GRUB's stage* files in a way it couldn't find
> them anymore in their previous location. Then it would load and execute
> unexpected garbage. Since the boot record doesn't contain the extfs support,
> it doesn't understand filesystems before it loads its missing parts.
The only thing I can think of would be prelink, however there's no /boot
listed in prelink.conf, and I can't think of any reason why it would be.
AFAIK, ext3 does not do any kind of background maintenance or defragging,
where it moves stuff around.
Furthermore, if something else on the system was randomly trashing grub,
then you'd expect boot failures to occur randomly, at any time. One thing
I'm confident about is that grub gets borked only immediately after a kernel
update. It never borks on me out of the blue, at other times.
AFAIK installing a kernel should involve merely updating
/boot/grub/grub.conf. I can't think of any reason why GRUB's stage files
have to be involved. The script that updates it, /sbin/new-kernel-pkg
invokes /sbin/grubby, apparently, to do that.
Without looking at grubby's source, a strings on the binary shows a
reference to /boot/grub/stage1. So, grubby might be doing to grub itself, in
addition to twiddling grub.conf, and occasionally gets it wrong.
Anyone know any reason why grubby would need to touch any grub files beyond
its purported mission of looking after grub.conf?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100825/e07bf081/attachment.bin
More information about the users