grub-devel
[Top][All Lists]
Advanced

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

Latest kernel shown at last


From: shirish
Subject: Latest kernel shown at last
Date: Thu, 28 Feb 2008 12:30:58 +0530

Hi all,
 Please look at the following :-

address@hidden:~$ sudo update-grub
[sudo] password for shirish:
Updating /boot/grub/grub.cfg ...
Found Debian background: debian-blueish-wallpaper-640x480.png
Found linux image: /boot/vmlinuz-2.6.24-8-generic
Found initrd image: /boot/initrd.img-2.6.24-8-generic
Found linux image: /boot/vmlinuz-2.6.24-7-generic
Found initrd image: /boot/initrd.img-2.6.24-7-generic
Found linux image: /boot/vmlinuz-2.6.24-5-generic
Found initrd image: /boot/initrd.img-2.6.24-5-generic
Found linux image: /boot/vmlinuz-2.6.24-10-generic
Found initrd image: /boot/initrd.img-2.6.24-10-generic
Found memtest86+ image: /boot/memtest86+.bin
done

address@hidden:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=100
set root=(hd0,1)
if font (hd0,1)/usr/share/grub/unicode.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod png
if background_image
(hd0,1)/usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.png
; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian, linux 2.6.24-8-generic" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-8-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro
        initrd  (hd0,1)/boot/initrd.img-2.6.24-8-generic
}
menuentry "Debian, linux 2.6.24-8-generic (single-user mode)" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-8-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro single
        initrd  (hd0,1)/boot/initrd.img-2.6.24-8-generic
}
menuentry "Debian, linux 2.6.24-7-generic" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-7-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro
        initrd  (hd0,1)/boot/initrd.img-2.6.24-7-generic
}
menuentry "Debian, linux 2.6.24-7-generic (single-user mode)" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-7-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro single
        initrd  (hd0,1)/boot/initrd.img-2.6.24-7-generic
}
menuentry "Debian, linux 2.6.24-5-generic" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-5-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro
        initrd  (hd0,1)/boot/initrd.img-2.6.24-5-generic
}
menuentry "Debian, linux 2.6.24-5-generic (single-user mode)" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-5-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro single
        initrd  (hd0,1)/boot/initrd.img-2.6.24-5-generic
}
menuentry "Debian, linux 2.6.24-10-generic" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-10-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro
        initrd  (hd0,1)/boot/initrd.img-2.6.24-10-generic
}
menuentry "Debian, linux 2.6.24-10-generic (single-user mode)" {
        linux   (hd0,1)/boot/vmlinuz-2.6.24-10-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro single
        initrd  (hd0,1)/boot/initrd.img-2.6.24-10-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        linux   (hd0,1)/boot/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###

AFAIK the convention has been always that the latest kernel shows at the top.

This is on grub2 (1.96+20080203-1ubuntu1) dunno whether its a bug
which should be filed in grub2 here or something which got messed up
while packaging it for ubuntu. Any help/guidance would be nice.
-- 
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/

065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17




reply via email to

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