grub2-mkconfig with 3.2.10 kernels?

Michael D. Setzer II mikes at kuentos.guam.net
Mon Mar 19 19:53:37 UTC 2012


On 19 Mar 2012 at 17:39, Piscium wrote:

Date sent:      	Mon, 19 Mar 2012 17:39:43 +0000
Subject:        	Re: grub2-mkconfig with 3.2.10 kernels?
From:           	Piscium <groknok at gmail.com>
To:             	Community support for Fedora users 
<users at lists.fedoraproject.org>
Send reply to:  	Community support for Fedora users 
<users at lists.fedoraproject.org>
	
<mailto:users-request at lists.fedoraproject.org?subject=unsubscrib
e>
	
<mailto:users-request at lists.fedoraproject.org?subject=subscribe
>

> On 18 March 2012 15:00, Michael D. Setzer II <mikes at kuentos.guam.net>
> wrote: > Just did an update and it included a new kernel, but then on
> > reboot after running grub2-mkconfig noticed that the newest one >
> was not first. Seems to be sorting the 9 before the 10? > > Is this a
> bug?
> 
> I have been using Grub2 built from upstream sources since before I
> started using Fedora (F12). This is an issue I am very familiar with,
> and the way I address it is by setting GRUB_DEFAULT when needed.
> 
> This issue is with respect to the way the Fedora kernel versions are
> sorted (but it works well with Ubuntu and Debian versioning). The bug
> might be in os-prober (rather than grub2). -- users mailing list
> users at lists.fedoraproject.org To unsubscribe or change subscription
> options: https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have
> a question? Ask away: http://ask.fedoraproject.org

I have had some messages on the grub list, and they confirmed 
the bug, and a fix seems to be to modify the 
/usr/lib/grub/grub_mkconfig_lib by changing one line from sort -n 
to sort -V.  Note: That is an unofficial patch in this case does seem 
to fix the problem. 


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI        11952853.535440   |   EINSTEIN     7526408.719852
ROSETTA      4328655.752081   |   ABC         11789983.901504



More information about the users mailing list