Public bug reported:

Binary package hint: grub2

I had Kubuntu 9.04 Jaunty installed and fully updated since Alpha4, in
February.   jaunty is on sda1 and it uses grub.   Over the course of the
updates the kernel was updated nine times, resulting in nine kernel
options listed in /boot/grub/menu.lst.  The latest kernel is 26.6.30.

I peeled 40 GB off my HD and installed Kubuntu 9.10 Karmic Alpha4, to
test it.   Karmic is on sda5 and it uses grub2.


Along with two Karmic kernel options, all nine of my Jaunty kernel options are 
listed in /boot/grub/grub.cfg on sda5.  When I boot my notebook I can choose 
either Karmic kernel option without problems.  When I choose the first option I 
get the 2.6.28-10 kernel.  When I choose the last option I get the 2.6.28-15.  
When I choose any kernel in between the first and the last option I get the 
2.6.28-15 kernel.  Also, the kernel version is not listed in the grub2 menu 
option so it is impossible to tell which kernel option you are choosing unless 
you read grub.cfg and ASSUME that the menu lists the kernels in the same 
sequence they are  listed in grub.cfg


Unlike menu.lst, one cannot manually edit grub.cfg


Here is my sda5 /boot/grub/grub.cfg:
************************************

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

### BEGIN /etc/grub.d/00_header ###
set default=0
set root=(hd0,6)
search --no-floppy --fs-uuid --set 792ddcdd-b09c-45e2-a1a3-67f5a096d2aa
if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output.gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set timeout=10
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-6-generic" {
        set root=(hd0,6)
        search --no-floppy --fs-uuid --set 792ddcdd-b09c-45e2-a1a3-67f5a096d2aa
        linux   /boot/vmlinuz-2.6.31-6-generic 
root=UUID=792ddcdd-b09c-45e2-a1a3-67f5a096d2aa ro   quiet splash
        initrd  /boot/initrd.img-2.6.31-6-generic
}
menuentry "Ubuntu, Linux 2.6.31-6-generic (recovery mode)" {
        set root=(hd0,6)
        search --no-floppy --fs-uuid --set 792ddcdd-b09c-45e2-a1a3-67f5a096d2aa
        linux   /boot/vmlinuz-2.6.31-6-generic 
root=UUID=792ddcdd-b09c-45e2-a1a3-67f5a096d2aa ro single 
        initrd  /boot/initrd.img-2.6.31-6-generic
}
menuentry "Ubuntu, Linux 2.6.31-5-generic" {
        set root=(hd0,6)
        search --no-floppy --fs-uuid --set 792ddcdd-b09c-45e2-a1a3-67f5a096d2aa
        linux   /boot/vmlinuz-2.6.31-5-generic 
root=UUID=792ddcdd-b09c-45e2-a1a3-67f5a096d2aa ro   quiet splash
        initrd  /boot/initrd.img-2.6.31-5-generic
}
menuentry "Ubuntu, Linux 2.6.31-5-generic (recovery mode)" {
        set root=(hd0,6)
        search --no-floppy --fs-uuid --set 792ddcdd-b09c-45e2-a1a3-67f5a096d2aa
        linux   /boot/vmlinuz-2.6.31-5-generic 
root=UUID=792ddcdd-b09c-45e2-a1a3-67f5a096d2aa ro single 
        initrd  /boot/initrd.img-2.6.31-5-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        linux   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        linux   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-10-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-10-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-11-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-13-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-13-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-14-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-14-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-15-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-8-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-8-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-9-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.28-9-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.30-020630-generic root=/dev/sda1
        initrd /boot/initrd.img-2.6.30-020630-generic
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-10-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-10-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-11-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-11-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-13-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-13-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-14-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-14-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-15-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-8-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-8-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.28-9-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.28-9-generic
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
menuentry "Ubuntu 9.04 (9.04) (on /dev/sda1)" {
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 077c86a4-e117-4cb2-8405-4680905d4ce5
        linux /boot/vmlinuz-2.6.30-020630-generic root=/dev/sda1 
        initrd /boot/initrd.img-2.6.30-020630-generic
}

### END /etc/grub.d/30_otheros ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

************************************

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- grub2 lists several kernel  options but runs only one
+ grub2 lists several kernel  options but runs only two

-- 
grub2 lists several kernel  options but runs only two
https://bugs.launchpad.net/bugs/419309
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to