Red Hat Bugzilla – Bug 808821
Installation of new kernel via yum ignores GRUB_DEFAULT entry in /etc/default/grub
Last modified: 2012-05-09 21:01:25 EDT
Description of problem:
I have the following entry in /etc/default/grub
GRUB_DEFAULT="Microsoft Windows XP Professional (on /dev/sda1)"
But when a new kernel is installed via yum this new kernel is made the default.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set GRUB_DEFAULT to some particular kernel or other entry
2. Install another kernel via yum
The new installed kernel is made the default in Grub
The default boot option should be what was set in GRUB_DEFAULT
Created attachment 574294 [details]
*** This bug has been marked as a duplicate of bug 742720 ***
If you say this is a duplicate then so be it. I can imagine other reasons why you could get the behaviour you describe, but without a before-and-after grub.cfg we can't tell.
Created attachment 578125 [details]
Before adding a new kernel
Created attachment 578130 [details]
Added before and after grub.cfg so that you can verify.
Yes, in this case the problem is that whitespace is removed. The 'right' boot entry can thus not be found and grub will pick the first one it finds - which will be the new kernel.