help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2-mkconfig with 3.2.10 kernels?


From: Michael D. Setzer II
Subject: Re: grub2-mkconfig with 3.2.10 kernels?
Date: Mon, 19 Mar 2012 12:47:13 +1000

On 18 Mar 2012 at 18:54, Jordan Uggla wrote:

From:                   Jordan Uggla <address@hidden>
Date sent:              Sun, 18 Mar 2012 18:54:42 -0700
Subject:                Re: grub2-mkconfig with 3.2.10 kernels?
To:                     "Michael D. Setzer II" 
<address@hidden>
Copies to:              address@hidden

> On Sun, Mar 18, 2012 at 2:50 PM, Michael D. Setzer II
> <address@hidden> 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?
> If the newest kernel is not listed as the first, that would be a bug,
> yes.
> 
> > I use the default="0", so this makes it not use the latest?
> 
> I don't understand this question.
> 
> Can you please post your entire /boot/grub/grub.cfg as created by
> grub-mkconfig?
> 

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
if loadfont /grub2/unicode.pf2 ; then
  set gfxmode=1024x768x16
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
insmod png
background_image -m stretch /verne.png
set timeout=45
set superusers="buffy"
password buffy linette
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora Linux, with Linux 3.2.9-2.fc16.x86_64' --class fedora --class 
gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.9-2.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.9-2.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro rd.md=0 rd.lvm=0 rd.dm=0  
KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8 
nouveau.modeset=0 
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.9-2.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.2.9-2.fc16.x86_64 (recovery mode)' 
--class fedora --class gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.9-2.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.9-2.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro single rd.md=0 rd.lvm=0 
rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 
LANG=en_US.UTF-8 nouveau.modeset=0
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.9-2.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.2.9-1.fc16.x86_64' --class fedora --class 
gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.9-1.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.9-1.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro rd.md=0 rd.lvm=0 rd.dm=0  
KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8 
nouveau.modeset=0 
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.9-1.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.2.9-1.fc16.x86_64 (recovery mode)' 
--class fedora --class gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.9-1.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.9-1.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro single rd.md=0 rd.lvm=0 
rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 
LANG=en_US.UTF-8 nouveau.modeset=0
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.9-1.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.2.10-3.fc16.x86_64' --class fedora 
--class gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.10-3.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.10-3.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro rd.md=0 rd.lvm=0 rd.dm=0  
KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8 
nouveau.modeset=0 
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.10-3.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.2.10-3.fc16.x86_64 (recovery mode)' 
--class fedora --class gnu-linux --class gnu --class os {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        echo    'Loading Linux 3.2.10-3.fc16.x86_64 ...'
        linux   /vmlinuz-3.2.10-3.fc16.x86_64 
root=UUID=f6c3fb8d-656a-411f-9375-fd099a73c8a3 ro single rd.md=0 rd.lvm=0 
rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 
LANG=en_US.UTF-8 nouveau.modeset=0
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-3.2.10-3.fc16.x86_64.img
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Fedora Memtest memtest86+-4.20' {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
c0fc90bb-0c7b-41eb-9d04-1b605abd8ef5
        insmod bsd
        echo    'Loading Fedora Memtest ...Loading memtest86+-4.20  ...'
        knetbsd /elf-memtest86+-4.20
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows 
--class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 8C6C55CB6C55B0A6
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "G4L" --users buffy {
        linux /bz3x2.11 ramdisk_size=65536 root=/dev/ram0 telnetd=yes
        initrd /ramdisk.lzma
}
menuentry "G4L Restore XP" {
        linux /bz3x2.11 ramdisk_size=65536 root=/dev/ram0 telnetd=yes 
run="mount /dev/sda6 /mnt/local && cd /mnt/local && ./reimagexp "
        initrd /ramdisk.lzma
}

### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###



> -- 
> Jordan Uggla (Jordan_U on irc.freenode.net)


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:address@hidden                            
  mailto:address@hidden
  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)

address@hidden CREDITS
SETI        11947905.992357   |   EINSTEIN     7521162.269852
ROSETTA      4324455.907112   |   ABC         11767855.622584




reply via email to

[Prev in Thread] Current Thread [Next in Thread]