Red Hat Bugzilla – Bug 156678
kernel update changes default boot OS
Last modified: 2007-11-30 17:11:05 EST
Description of problem:
The kernel update overwrites the grub default boot selection, which was set at
Fedora Core 3 install time to boot Windows.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install FC3 on a dual boot system and make the non Linux OS default
2.Update the kernel
this isn't particularly easy to fix, as the kernel post-install script would
have to figure out what you'd done to your grub.conf. If Jeremy/Peter have any
ideas that could be a quick-fix for this, I'm all ears, but I don't think
there's a great deal we can do this in situation.
Yes, you will need to change the post-install script. But I think that it should
be easy to fix. You will need to parse grub.conf. Look which entry is the
default and check if the default boot entry (seperate by title) contains kernel
or chainloader. If the default boot entry contains "kernel", make the new kernel
the default. If the default boot entry contains "chainloader" keep it as the
default. In this case, depending on where you add the new kernel entry, you
might have to update the number on the default line.
Fixed in anaconda to not set UPDATEDEFAULT=yes for the case where you're default
to another OS.