Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413179 - sys-boot/grub-1.99-r2 kernel sorting
Summary: sys-boot/grub-1.99-r2 kernel sorting
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 00:43 UTC by Alex Brandt (RETIRED)
Modified: 2012-04-23 04:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Brandt (RETIRED) gentoo-dev 2012-04-23 00:43:46 UTC
I'm not sure if this is something that should be fixed but when using GRUB-2 the newest installed kernel is not always created as entry 0 (corresponding with the /etc/default/grub DEFAULT option of 0).  One would expect that this automation would allow us to simply issue grub2-mkconfig and reboot to enter the new kernel but I wanted to pose the question here to find out if this is a valid expectation.

Reproducible: Always

Steps to Reproduce:
1.Install *-sources-3.2.2 (for example)
2.Update grub with these sources like normal (grub2-mkconfig)
3.Install *-sources-3.2.11 (for example)
4.Update grub with these sources like normal (grub2-mkconfig)
Actual Results:  
The kernel entries in the grub configuration (created by /etc/grub.d/10_linux) are 3.2.2 and then 3.2.11 not 3.2.11 and then 3.2.2 like one would expect (again I'm open to this being disputed).  With the default boot entry being zero the old kernel boots by default.

Expected Results:  
The kernels are in ascending age order in the grub menu and the newest kernel will take place zero in the menu configuration.
Comment 1 Mike Gilbert gentoo-dev 2012-04-23 01:09:28 UTC
Please indicate the full version of grub you are using. grub-2* is not useful.
Comment 2 Alex Brandt (RETIRED) gentoo-dev 2012-04-23 03:12:23 UTC
Just noticed I was testing on grub-1.99-r2.  I will verify if this still exists in the latest incarnation before continuing with this report.
Comment 3 Alex Brandt (RETIRED) gentoo-dev 2012-04-23 04:53:10 UTC
Sorry to have wasted time with this report.  Should've checked the latest release first.  It is working as I expected in sys-boot/grub-2.00_beta3-r1.  Marking as invalid since 1.99-r1 has been superseded by 2.00_beta3-r1.