[Bug 402789] New: GRUB menu.lst default entry changed when Updating from 10 .3
https://bugzilla.novell.com/show_bug.cgi?id=402789 Summary: GRUB menu.lst default entry changed when Updating from 10.3 Product: openSUSE 11.0 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Booting AssignedTo: jsrain@novell.com ReportedBy: danielstefanmader@web.de QAContact: jsrain@novell.com Found By: --- When updating with 11.0 final DVD from 10.3, the GRUB configuration changes the default section to "default 2". I could reproduce this on two different machines so far, more have yet to be updated. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User danielstefanmader@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c1 --- Comment #1 from Daniel Mader <danielstefanmader@web.de> 2008-06-23 08:40:03 MDT --- Created an attachment (id=223768) --> (https://bugzilla.novell.com/attachment.cgi?id=223768) new /boot/grub/menu.lst after update from 10.3 to 11.0 In this case, GRUB defaults to the floppy section, on the other machine it pointed to an installed system on another partition. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User dspolleke@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c2 Paul van Noort <dspolleke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dspolleke@gmail.com --- Comment #2 from Paul van Noort <dspolleke@gmail.com> 2008-06-30 07:09:00 MDT --- i confirm this bug.. on three (3) out of three (3) machine's i upgraded last weekend from 10.2 (2) and 10.3 (1) to 11.0.. On all of them the default was set on 2 although the 11.0 entry was the first (0) on my desktop it even failed to remove a 10.2 entry and defaulted to that. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@novell.com |jreidinger@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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c3 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 00:26:26 MDT --- Please provide YaST logs after upgrade. especially this one - /var/log/YaST2/perl-BL-standalone-log -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |danielstefanmader@web.de -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User dspolleke@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c4 Paul van Noort <dspolleke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|danielstefanmader@web.de | --- Comment #4 from Paul van Noort <dspolleke@gmail.com> 2008-07-10 04:02:36 MDT --- Created an attachment (id=226949) --> (https://bugzilla.novell.com/attachment.cgi?id=226949) perl-BL-standalone-log as requested Here you go.. this is one out of three machines i upgraded. If you need to have them i can upload the other to this evening.. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c5 --- Comment #5 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 05:15:43 MDT --- (In reply to comment #4 from Paul van Noort)
Created an attachment (id=226949) --> (https://bugzilla.novell.com/attachment.cgi?id=226949) [details] perl-BL-standalone-log as requested
Here you go.. this is one out of three machines i upgraded. If you need to have them i can upload the other to this evening..
Thanks for logs, can you please also attach your menu.lst after upgrade? because in logs it looks like that default is still 0 so I must check what part of program can change it and that depends on entries in menu.lst. Thanks -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c6 --- Comment #6 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 06:00:16 MDT --- I found where is problem. When old kernel is removed then it remove default section and bootloader choose one of windows section. And when add new kernel then doesn't change default, because he doesn't have information, that before default is linux. reminder - add to remove comment to global section that default is removed and check if this comment exist when add new. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User dspolleke@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c7 --- Comment #7 from Paul van Noort <dspolleke@gmail.com> 2008-07-10 06:22:56 MDT --- Created an attachment (id=226998) --> (https://bugzilla.novell.com/attachment.cgi?id=226998) menu.lst.old (as replaced by the upgrade of the kernel) # Modified by YaST2. Last modification on Wed Jul 9 10:50:32 CEST 2008 default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.0 - 2.6.25.9-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.25.9-0.2-pae root=/dev/disk/by-id/scsi-SATA_Hitachi_HTS5416_SB2E82H7CS77SH-part6 resume=/dev/sda5 splash=silent showopts vga=0x314 initrd /boot/initrd-2.6.25.9-0.2-pae ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.0 - 2.6.25.9-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.25.9-0.2-pae root=/dev/disk/by-id/scsi-SATA_Hitachi_HTS5416_SB2E82H7CS77SH-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x314 initrd /boot/initrd-2.6.25.9-0.2-pae ###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,5) chainloader (hd0,0)+1 ###Don't change this comment - YaST2 identifier: Original name: windows 2### title windows 2 rootnoverify (hd0,5) chainloader (hd0,1)+1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c8 --- Comment #8 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 06:31:47 MDT --- thanks, this is useful input. Fix will be created after alpha phase of OSS 11.1 because maybe solution is needed also by some feature and that can decide format how transport information about previous default option. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User dspolleke@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c10 --- Comment #10 from Paul van Noort <dspolleke@gmail.com> 2008-07-10 07:17:33 MDT --- That seems odd.. just logically speaking: ----------- if in old_menu.list default=0 remove the old opensuse entries (as marked by Yast) add two entries (opensuse11 and opensuse failsafe) at the top of menu.list default is opensuse11 wich is at the top of menu.list so default =0 else new_default = old_default + number of added entries - removed entries.. --------------- i have not tried to find the scripts responsible but it seems to do something like : added 2 entries to menu.list default = old_default +2 forgetting the REMOVED entries.. Am i right? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c11 --- Comment #11 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 07:44:42 MDT --- (In reply to comment #10 from Paul van Noort)
That seems odd..
just logically speaking: ----------- if in old_menu.list default=0 remove the old opensuse entries (as marked by Yast) add two entries (opensuse11 and opensuse failsafe) at the top of menu.list
default is opensuse11 wich is at the top of menu.list so default =0
else new_default = old_default + number of added entries - removed entries..
---------------
i have not tried to find the scripts responsible but it seems to do something like
: added 2 entries to menu.list default = old_default +2
forgetting the REMOVED entries..
Am i right?
no, problem is, that in normal case new kernel is added and then old removed, so you add new entries and after remove old, script switch to new. But from log I see that first is removed old (so only windows can be booted - default change to it) and after it new kernel is added but script correctly use old default (which is windows from previous remove). So I still don't know why old kernel is removed before installing new. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User dspolleke@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c12 --- Comment #12 from Paul van Noort <dspolleke@gmail.com> 2008-07-10 08:09:56 MDT --- hmmm. Could it be that an other error (let's say an unresolved dependancy or something) that chrashed the install could have invoked it.. i had on 1 out of three machines an error like that.. (can't remeber what it was) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c13 --- Comment #13 from Josef Reidinger <jreidinger@novell.com> 2008-07-10 09:32:56 MDT --- (In reply to comment #12 from Paul van Noort)
hmmm. Could it be that an other error (let's say an unresolved dependancy or something) that chrashed the install could have invoked it..
i had on 1 out of three machines an error like that.. (can't remeber what it was)
Interesting, can you provide exact way how you upgrade? I try emulate this update(from 10.3 to 11.0) in virtual box and it works as expected (first add new and then remove old). I install 10.3 and then change DVD to 11.0 and choose install->update and it let live my windows partition and default is correctly set to linux. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User danielstefanmader@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c14 --- Comment #14 from Daniel Mader <danielstefanmader@web.de> 2008-07-14 07:37:34 MDT --- Hello, maybe this helps: the default entry also changes on a running 11.0 system when e.g. the kernel-flavor is changed! I have changed from kernel-default to kernel-pae and back on different systems, all with the same result: the default entry changes from 0 to 2, no matter what hat is (floppy, Windows, etc.). So no update is needed to reproduce this bug. Maybe this helps with debugging. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User danielstefanmader@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c15 --- Comment #15 from Daniel Mader <danielstefanmader@web.de> 2008-07-14 07:38:46 MDT --- To make this a little clearer: whenever the kernel is changed, the default entry changes. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c16 --- Comment #16 from Josef Reidinger <jreidinger@novell.com> 2008-07-15 00:51:47 MDT --- (In reply to comment #15 from Daniel Mader)
To make this a little clearer: whenever the kernel is changed, the default entry changes.
Yes, this sound like really good way how to uninstall first kernel and after it install second. I try reproduce it on my machine and try fix it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c17 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Summary|GRUB menu.lst default entry changed when |default entry changed if change kernel type |Updating from 10.3 | --- Comment #17 from Josef Reidinger <jreidinger@novell.com> 2008-07-24 03:15:49 MDT --- I look at initial logs and it have same problem, because change from default to pae kernel. So I change tittle to clear one. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c18 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abittner@stud.fh-heilbronn.de --- Comment #18 from Josef Reidinger <jreidinger@novell.com> 2008-08-12 00:23:42 MDT --- *** Bug 401953 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=401953 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c19 --- Comment #19 from Josef Reidinger <jreidinger@novell.com> 2008-09-09 07:34:55 MDT --- fixed in svn, will be in perl-Bootloader-0.4.70 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c20 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #20 from Josef Reidinger <jreidinger@novell.com> 2008-09-12 06:52:49 MDT --- 0.4.70 released, if problem still happen please reopen with actual logs -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=402789 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=402789#c21 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ulrich.Windl@rz.uni-regensburg.de --- Comment #21 from Josef Reidinger <jreidinger@novell.com> 2008-09-18 04:42:14 MDT --- *** Bug 412891 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=412891 -- 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.
participants (1)
-
bugzilla_noreply@novell.com