Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 156678 - kernel update changes default boot OS
Summary: kernel update changes default boot OS
Alias: None
Product: Fedora
Classification: Fedora
Component: booty
Version: 3
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Peter Jones
QA Contact:
Depends On:
Blocks: FC4Target
TreeView+ depends on / blocked
Reported: 2005-05-03 10:55 UTC by Robert Greimel
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-09-05 07:43:33 UTC

Attachments (Terms of Use)

Description Robert Greimel 2005-05-03 10:55:55 UTC
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 23:15:52 UTC
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 10:31:09 UTC
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 21:51:28 UTC
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.