Bug 785379 - Grub2 menu untidy (name of the kernel entries not coherent)
Summary: Grub2 menu untidy (name of the kernel entries not coherent)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 20
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 904235 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-28 13:33 UTC by nicofo
Modified: 2015-06-30 00:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 904235 (view as bug list)
Environment:
Last Closed: 2015-06-30 00:35:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nicofo 2012-01-28 13:33:04 UTC
Description of problem:
When regenerating the file /boot/grub2/grub.cfg with:
 grub2-config -o /boot/grub2/grub.cfg
(and I think it's the same after a fresh Fedora installation), the kernel entry which appears in the grub2 menu looks like:
 Fedora Linux, with Linux <kernel version>.fc16.i686
(that name is defined after 'menuentry' in /boot/grub2/grub.cfg)

BUT after updating a kernel (with yum), the kernel entry looks like:
 Fedora (<kernel version>.fc16.i686)

which is not the same format as above.

Version-Release number of selected component (if applicable):
(Fedora 16 is up to date)

How reproducible:
Yes

Steps to Reproduce:
1. Update kernel
2. In grub2 menu, the name of the new kernel has not the same format as the previous ones installed at Fedora installation
3.
  
Actual results:
Grub2 menu is not clean because the list of kernels looks like:
 Fedora (3.2.2-1.fc16.i686)
 Fedora Linux, with Linux 3.2.1-3.fc16.i686
 Fedora Linux, with Linux 3.1.9-1.fc16.i686
 Fedora Linux, with Linux 3.1.7-1.fc16.i686

Expected results:
A clean grub2 menu is:
 Fedora Linux, with Linux 3.2.2-1.fc16.i686
 Fedora Linux, with Linux 3.2.1-3.fc16.i686
 Fedora Linux, with Linux 3.1.9-1.fc16.i686
 Fedora Linux, with Linux 3.1.7-1.fc16.i686

Additional info:
Why this difference ? Does it mean that when yum updates the kernel, it doesn't use 'grub2-config' but it's own tool ? So there are 2 tools to make the same thing (update /boot/grub2/grub.cfg file) ? That should be unified.

Comment 1 Sergio 2012-04-13 13:45:00 UTC
Not only that, but it also makes no recovery mode for the latest kernel.

So when a new kernel is installed, GRUB menu has it on top (instead making it the 'Fedora' entry), then comes 'Fedora' (which boots the previous kernel) and then on the 'advanced' entries there's no recovery option for the latest kernel.

Running 'grub2-mkconfig -o /boot/grub2/grub.cfg' fixes the menu in this respect.

Comment 2 Fedora End Of Life 2013-01-16 16:59:14 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 21:15:24 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 nicofo 2013-02-14 19:58:39 UTC
reopened: bug still present

Comment 5 nicofo 2013-02-14 19:59:41 UTC
reopened: bug still present on Fedora 18

Comment 6 Fedora End Of Life 2013-12-21 15:00:07 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 nicofo 2013-12-25 19:20:05 UTC
Still present in Fedora 20.

I close the bug #904235 which is a duplicated of this one:
In that bug I wrote: 2013-01-25 15:10:52 EST
> This bug is still present under Fedora 18.
> For instance, in the list which appears in grub2 menu, I have:
>     Fedora (3.7.2-204.fc18.i686)           (entry generated by grubby)
>     Fedora, with Linux 3.6.10-4.fc18.i686  (entry generated by
> grub2-mkconfig)
> 
> This makes an unpolished menu, really not professional... It must be easy
> though to correct this I think...

Comment 8 nicofo 2013-12-25 19:20:53 UTC
*** Bug 904235 has been marked as a duplicate of this bug. ***

Comment 9 Fedora End Of Life 2014-02-05 22:44:40 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 nicofo 2014-02-06 20:22:54 UTC
still present with F20

Comment 11 Fedora End Of Life 2015-05-29 08:42:32 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2015-06-30 00:35:22 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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