On 19 Mar 2012 at 8:39, Ed Greshko wrote:

Date sent:              Mon, 19 Mar 2012 08:39:00 +0800
From:                   Ed Greshko <ed.gres...@greshko.com>
To:                     Community support for Fedora users 
<users@lists.fedoraproject.org>
Subject:                Re: grub2-mkconfig with 3.2.10 kernels?
>

> On 03/19/2012 08:09 AM, Michael D. Setzer II wrote:
> > The issue is that the order is coming up wrong. 
> > On my sytem, it adds the new kernel, but it is the in this order
> > from the grub.cfg file.
> >
> > menuentry 'Fedora Linux, with Linux 3.2.9-2.fc16.x86_64' 
> > menuentry 'Fedora Linux, with Linux 3.2.9-2.fc16.x86_64 
> > (recovery mode)' 
> > menuentry 'Fedora Linux, with Linux 3.2.9-1.fc16.x86_64' 
> > menuentry 'Fedora Linux, with Linux 3.2.9-1.fc16.x86_64 
> > (recovery mode)' 
> > menuentry 'Fedora Linux, with Linux 3.2.10-3.fc16.x86_64' 
> > menuentry 'Fedora Linux, with Linux 3.2.10-3.fc16.x86_64 
> > (recovery mode)' 
> >
> > Thus 0 is the 3.2.9-2 kernel, and the new 3.2.10-3 would be 
> > number  4?
> >
> > Is yours listing 3.2.10-3 as being 0?
> 
> [root@meimei grub2]# grep menuen grub.cfg
> menuentry 'Fedora (3.2.10-3.fc16.i686.PAE)' --class fedora --class
> gnu-linux --class gnu --class os { menuentry 'Fedora
> (3.2.9-2.fc16.i686.PAE)' --class fedora --class gnu-linux --class gnu
> --class os { menuentry 'Fedora (3.2.9-1.fc16.i686.PAE)' --class fedora
> --class gnu-linux --class gnu --class os {
> 
> 
> But, now I am asking myself:  "Why don't I have recovery mode
> entries?".  :-(

Did you run grub2-mkconfig -o /boot/grub2/grub.cfg?

From what I have seen, when a new kernel is installed, it runs 
grubby, which doesn't make the recover option, so I generally run 
the grub2-mkconfig to get it have the listing, but it may be that it 
has the sort option.

I actually did an strace with the -f option to try and see what it is 
doing, but in some places it is reading the order by name, but then 
later reverses it, but it is sorting by just the first digit. 

Did find one message that talked about the sort not working with 
the german language, but tried the solution of putting a LANG=C 
in front of the grub2-mkconfig and it made no difference?



> 
> -- 
> Do not condemn the judgment of another because it differs from your
> own. You may both be wrong. -- Dandemis -- users mailing list
> users@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


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mi...@kuentos.guam.net                            
  mailto:msetze...@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@HOME CREDITS
SETI        11947905.992357   |   EINSTEIN     7521162.269852
ROSETTA      4324455.907112   |   ABC         11767855.622584

-- 
users mailing list
users@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

Reply via email to