I have been wondering why all other Linux related boot entries disappeared from openSUSE Grub after kernel update (never use Bootloader-GUI) on 4 or 5 machines but not on others. Curiously chainloading entries (other Grubs, Unix) were untouched. Now I believe I found something …
I did a zypper in kernel-default and zypper rm kernel-default twice. When using the following order in menu.lst, Ubuntu, Mandriva, etc, kernel entries (all entries highlighted in red here) were gone:
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 (Teal) - kernel 2.6.34.7-0.4 (Desktop)
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-desktop root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 resume=/dev/disk/by-uuid/ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title openSUSE 11.3 (Teal) - kernel 2.6.34.7-0.4 (Failsafe)
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-desktop root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-desktop
###Don't change this comment - YaST2 identifier: Original name: Ubuntu###
title Ubuntu 10.04 (lucid) - kernel 2.6.32-25-generic
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,5)
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f4102d7b-66ad-43a8-841c-7ce88f42c180 ro
initrd /boot/initrd.img-2.6.32-25-generic
###Don't change this comment - YaST2 identifier: Original name: MandrivaOld###
title Mandriva 2010.1 (Farman) - kernel 2.6.33.7-69
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd1,5)
kernel /boot/vmlinuz-2.6.33.7-desktop-69mib BOOT_IMAGE=2.6.33.7-desktop-69mib root=UUID=4ecf3517-c7e9-47a1-8930-13a4e188e730 resume=UUID=ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent vga=794
initrd /boot/initrd-2.6.33.7-desktop-69mib.img
###Don't change this comment - YaST2 identifier: Original name: Mandriva###
title Mandriva 2010.1 (Farman) - kernel 2.6.33.7-2
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd1,5)
kernel /boot/vmlinuz-2.6.33.7-desktop-2mnb BOOT_IMAGE=desktop_2.6.33.7-2 root=UUID=4ecf3517-c7e9-47a1-8930-13a4e188e730 resume=UUID=ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent vga=794
initrd /boot/initrd-2.6.33.7-desktop-2mnb.img
###Don't change this comment - YaST2 identifier: Original name: Arch###
title Arch Linux - kernel 2.6.35.7-1
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,14)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/23c64367-0f52-4195-881b-1e25854ad5a5 ro vga=794
initrd /boot/kernel26.img
###Don't change this comment - YaST2 identifier: Original name: Debian###
title Debian GNU/Linux, kernel 2.6.32-3-amd64
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,18)
kernel /boot/vmlinuz-2.6.32-3-amd64 root=UUID=30eac80e-8574-46fb-a4ee-ec2a2ee453f9 ro vga=794
initrd /boot/initrd.img-2.6.32-3-amd64
###Don't change this comment - YaST2 identifier: Original name: UbuntuGrub###
title Ubuntu Grub
root (hd0)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: MandrivaGrub###
title Mandriva Grub
root (hd1,5)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: ArchGrub###
title Arch Grub
root (hd0,14)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: DebianGrub###
title Debian Grub
root (hd0,18)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: DOS###
title DOS (IDE)
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
rootnoverify (hd0,0)
makeactive
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: OpenBSD###
title OpenBSD 4.7
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA6 317283750 41945715
partnew (hd0,2) 0xA9 411729885 50331645
partnew (hd1,1) 0xA6 510609960 41945715
partnew (hd1,2) 0xA9 605056095 29366820
rootnoverify (hd0,1)
makeactive
chainloader +1
.../...
But when using the following order instead, everything remained untouched:
# Modified by YaST2. Last modification on Sat Oct 16 16:07:31 PDT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 2
timeout 120
gfxmenu (hd0,10)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.4
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-default root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 resume=/dev/disk/by-uuid/ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.4
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-default root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-default
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 (Teal) - kernel 2.6.34.7-0.4 (Desktop)
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-desktop root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 resume=/dev/disk/by-uuid/ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title openSUSE 11.3 (Teal) - kernel 2.6.34.7-0.4 (Failsafe)
root (hd0,10)
kernel /boot/vmlinuz-2.6.34.7-0.4-desktop root=/dev/disk/by-uuid/4946e10e-d727-42fb-9ce4-2d09d49d6a52 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.4-desktop
###Don't change this comment - YaST2 identifier: Original name: UbuntuGrub###
title Ubuntu Grub
root (hd0)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: MandrivaGrub###
title Mandriva Grub
root (hd1,5)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: ArchGrub###
title Arch Grub
root (hd0,14)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: DebianGrub###
title Debian Grub
root (hd0,18)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: Ubuntu###
title Ubuntu 10.04 (lucid) - kernel 2.6.32-25-generic
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,5)
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f4102d7b-66ad-43a8-841c-7ce88f42c180 ro
initrd /boot/initrd.img-2.6.32-25-generic
###Don't change this comment - YaST2 identifier: Original name: MandrivaOld###
title Mandriva 2010.1 (Farman) - kernel 2.6.33.7-69
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd1,5)
kernel /boot/vmlinuz-2.6.33.7-desktop-69mib BOOT_IMAGE=2.6.33.7-desktop-69mib root=UUID=4ecf3517-c7e9-47a1-8930-13a4e188e730 resume=UUID=ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent vga=794
initrd /boot/initrd-2.6.33.7-desktop-69mib.img
###Don't change this comment - YaST2 identifier: Original name: Mandriva###
title Mandriva 2010.1 (Farman) - kernel 2.6.33.7-2
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd1,5)
kernel /boot/vmlinuz-2.6.33.7-desktop-2mnb BOOT_IMAGE=desktop_2.6.33.7-2 root=UUID=4ecf3517-c7e9-47a1-8930-13a4e188e730 resume=UUID=ba9db764-a47e-48d9-b6f9-b627b57c0287 splash=silent vga=794
initrd /boot/initrd-2.6.33.7-desktop-2mnb.img
###Don't change this comment - YaST2 identifier: Original name: Arch###
title Arch Linux - kernel 2.6.35.7-1
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,14)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/23c64367-0f52-4195-881b-1e25854ad5a5 ro vga=794
initrd /boot/kernel26.img
###Don't change this comment - YaST2 identifier: Original name: Debian###
title Debian GNU/Linux, kernel 2.6.32-3-amd64
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
partnew (hd1,1) 0xA5 18539010 534016665
partnew (hd1,2) 0xA5 554724450 79698465
root (hd0,18)
kernel /boot/vmlinuz-2.6.32-3-amd64 root=UUID=30eac80e-8574-46fb-a4ee-ec2a2ee453f9 ro vga=794
initrd /boot/initrd.img-2.6.32-3-amd64
###Don't change this comment - YaST2 identifier: Original name: DOS###
title DOS (IDE)
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA5 73947195 285282270
partnew (hd0,2) 0xA5 361398240 100663290
rootnoverify (hd0,0)
makeactive
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: OpenBSD###
title OpenBSD 4.7
partnew (hd0,0) 0x06 63 514017
partnew (hd0,1) 0xA6 317283750 41945715
partnew (hd0,2) 0xA9 411729885 50331645
partnew (hd1,1) 0xA6 510609960 41945715
partnew (hd1,2) 0xA9 605056095 29366820
rootnoverify (hd0,1)
makeactive
chainloader +1
See how kernel-default entries (in green) have been added.
The trick would be to add an entry to chainload Ubuntu’s Grub before any other Ubuntu’s (or others) kernel entries. But I agree that it should be considered as a bug. I started to have that problem after I decide to move the chainloading entries after the other Linux kernel boot entries.