[Bug 224481] New: Bad modifications in menu.lst when updating kernel
https://bugzilla.novell.com/show_bug.cgi?id=224481 Summary: Bad modifications in menu.lst when updating kernel Product: openSUSE 10.2 Version: RC 3 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: yast2-maintainers@suse.de ReportedBy: holgi@novell.com QAContact: jsrain@novell.com CC: aj@novell.com I updated the kernel and noticed that the modifications in menu.lst are bad: (missing Failsafe entry - openSUSE 10.2 is now Kernel-2.6.18.2-34-default). BTW: The 'old' kernel is not available anymore and there is no entry for booting it after the update. menu.lst after updating: ======================== # Modified by YaST2. Last modification on Wed Nov 29 14:36:06 CET 2006 default 0 timeout 8 gfxmenu (hd0,10)/boot/message title Kernel-2.6.18.2-34-default root (hd0,10) kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda11 vga=0x34b resume=/dev/sda13 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default menu.lst before updating: ========================= # Modified by YaST2. Last modification on Wed Nov 29 14:29:02 CET 2006 default 2 timeout 8 gfxmenu (hd0,10)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (hd0,10) kernel /boot/vmlinuz-2.6.18.2-31-default root=/dev/sda11 vga=0x34b resume=/dev/sda13 splash=silent showopts initrd /boot/initrd-2.6.18.2-31-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 10.2 root (hd0,10) kernel /boot/vmlinuz-2.6.18.2-31-default root=/dev/sda11 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3 initrd /boot/initrd-2.6.18.2-31-default -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |odabrunz@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 holgi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|odabrunz@novell.com |jplack@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 jplack@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from jplack@novell.com 2006-11-29 09:17 MST ------- Mmh. for the failsafe entry, I propose to go back to the vmlinux symlink, as long it is there and supported by the kernel rpm. the 'linux' section will be a harder thing to change -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 jplack@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jplack@novell.com |odabrunz@novell.com Status|ASSIGNED |NEW ------- Comment #2 from jplack@novell.com 2006-11-30 06:45 MST ------- The only place to fix that is yast2-bootloader. Proposing to check for invalid entries in UpdateSections for the linux section -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 lenz@grimmer.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lenz@grimmer.com ------- Comment #3 from lenz@grimmer.com 2006-12-01 08:18 MST ------- I observed something similar during an initial install of 10.2RC1: the installer runs the online update, which updates the kernel from 2.6.18.2-23 to 2.6.18.2-33. Instead of replacing the existing boot menu entry, it adds a new one to the end of menu.lst and makes it the default (the previous ones remain): # Modified by YaST2. Last modification on Fri Dec 1 13:43:53 CET 2006 default 4 timeout 8 ##YaST - generic_mbr gfxmenu (hd0,2)/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (hd0,2) kernel /vmlinuz-2.6.18.2-23-default root=/dev/system/suse102root vga=0x342 resume=/dev/hda5 splash=silent showopts initrd /initrd-2.6.18.2-23-default ###Don't change this comment - YaST2 identifier: Original name: windows 1### title Windows XP rootnoverify (hd0,0) chainloader (hd0,0)+1 ###Don't change this comment - YaST2 identifier: Original name: windows 2### title Access IBM rootnoverify (hd0,0) chainloader (hd0,1)+1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 10.2 root (hd0,2) kernel /vmlinuz-2.6.18.2-23-default root=/dev/system/suse102root vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3 initrd /initrd-2.6.18.2-23-default title Kernel-2.6.18.2-33-default root (hd0,2) kernel /vmlinuz-2.6.18.2-33-default root=/dev/system/suse102root vga=0x342 resume=/dev/hda5 splash=silent showopts initrd /initrd-2.6.18.2-33-default -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224481 odabrunz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Summary|Bad modifications in |Failsafe entry missing and label is missing |menu.lst when updating |product in default entry in menu.lst when |kernel |updating kernel ------- Comment #4 from odabrunz@novell.com 2006-12-01 09:13 MST ------- To the initial comment:
missing Failsafe entry
The fix proposed in comment #1 (using symlinks in failsafe entry again) is in yast2-bootloader-2.14.15.rpm.
openSUSE 10.2 is now Kernel-2.6.18.2-34-default
This is ugly. It would be good if it would be "openSUSE 10.2 (Kernel-2.6.18.2-34-default)", but this is a new feature, not a critical bug. This title would need to be fixed in the postinstall-script of the kernel (and maybe also in bootloader_entry or update_bootloader). AFAIK there are plans to change this though.
BTW: The 'old' kernel is not available anymore and there is no entry for booting it after the update.
This is correct. An update of the kernel is supposed to replace the installed kernel. Only a manual "rpm -i" would install an additional kernel. (And even if you would like to do both, there is currently (to my knowledge) no feature to have an interface in the updater to select "keep old kernel" nor is this handled anywhere in yast.) -> Feature request? To comment #3: this is bug #224828, please have a look there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com