Bug 156678 - kernel update changes default boot OS
kernel update changes default boot OS
Product: Fedora
Classification: Fedora
Component: booty (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
Depends On:
Blocks: FC4Target
  Show dependency treegraph
Reported: 2005-05-03 06:55 EDT by Robert Greimel
Modified: 2007-11-30 17:11 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-05 03:43:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert Greimel 2005-05-03 06:55:55 EDT
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):

How reproducible:

Steps to Reproduce:
1.Install FC3 on a dual boot system and make the non Linux OS default
2.Update the kernel
Actual results:

Expected results:

Additional info:
Comment 1 Dave Jones 2005-05-09 19:15:52 EDT
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.
Comment 2 Robert Greimel 2005-05-10 06:31:09 EDT
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.
Comment 3 Jeremy Katz 2005-05-23 17:51:28 EDT
Fixed in anaconda to not set UPDATEDEFAULT=yes for the case where you're default
to another OS.

Note You need to log in before you can comment on or make changes to this bug.