[Bug 450190] New: YaST2 Boot Loader 'Clone Selected Section' adds wrong data to Grub menu
https://bugzilla.novell.com/show_bug.cgi?id=450190 Summary: YaST2 Boot Loader 'Clone Selected Section' adds wrong data to Grub menu Product: openSUSE 11.1 Version: RC 1 Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gfarrell@netspeed.com.au QAContact: jsrain@novell.com Found By: Community User A kernel update changed the Grub menu to this: openSUSE 11.1 - 2.6.27.7-8 Failsafe -- openSUSE 11.1 - 2.6.27.7-8 openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1) Floppy This is the relevant menu.lst: # Modified by YaST2. Last modification on Fri Nov 28 21:03:57 EST 2008 default 2 timeout 8 gfxmenu (hd1,4)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 - 2.6.27.7-8 root (hd1,4) kernel /boot/vmlinuz-2.6.27.7-8-default root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part5 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /boot/initrd-2.6.27.7-8-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.1 - 2.6.27.7-8 root (hd1,4) kernel /boot/vmlinuz-2.6.27.7-8-default root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part5 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a initrd /boot/initrd-2.6.27.7-8-default ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1)### title openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1) rootnoverify (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: floppy### title Floppy rootnoverify (fd0) chainloader +1 ---------------------------------------------- I edited it in YaST2-> System-> Boot Loader to return it to the options it had before the rpm script changed it (and removed a couple of entries). I wanted to rename the 'openSUSE 11.1 - 2.6.27.7-8' section and add another two to the list. The procedure I used was: 1. Moved the 'openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1)' entry to the top with the 'Up' button. 2. Edited the (now second) entry's Section Name from 'openSUSE 11.1 - 2.6.27.7-8' to 'openSUSE 11.1 RC1 x64 (/dev/sdc5)'. 3. Selected the 'openSUSE 11.1 RC1 x64 (/dev/sdc5)' section and clicked on 'Add', then 'Clone Selected Section'. 3a. Entered 'openSUSE 11.1 RC1 i686 (/dev/sdc1)' in the Section Name box. 3b. Changed the 'Kernel Image' box from 'boot/vmlinuz-2.6.27.7-8-default' to just '/boot/vmlinuz'. 3c. Changed the 'Initial RAM Disk' box from 'boot/initrd-2.6.27.7-8-default' to just '/boot/initrd'. 3d. Changed the 'Root Device' from '...-part5' to '...-part1'. 3e. Clicked OK, then moved it up to third place under the 'openSUSE 11.1 RC1 x64 (/dev/sdc5)' entry. 4. Left the 'openSUSE 11.1 RC1 i686 (/dev/sdc1)' entry selected, then clicked on 'Add', then 'Clone Selected Section'. 4a. Entered 'openSUSE 11.1 Beta5 (/dev/sdc6)' in the Section Name box. 4b. Changed the 'Root Device' from '...-part1' to '...-part6'. 4c. Clicked OK, then moved it up to fourth place under the 'openSUSE 11.1 RC1 i686 (/dev/sdc1)' entry. 5. Under the 'Boot Loader Installation' tab, left it set at 'Master Boot Record'. 6. Clicked OK. This should have produced a Grub menu like: openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1) openSUSE 11.1 RC1 x64 (/dev/sdc5) openSUSE 11.1 RC1 i686 (/dev/sdc1) openSUSE 11.1 Beta5 (/dev/sdc6) Failsafe -- openSUSE 11.1 - 2.6.27.7-8 Floppy But instead, it produced one like: openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1) openSUSE 11.1 Beta5 (/dev/sdc6) openSUSE 11.1 Beta5 (/dev/sdc6) openSUSE 11.1 Beta5 (/dev/sdc6) Failsafe -- openSUSE 11.1 - 2.6.27.7-8 Floppy This is the menu.lst post-edit: # Modified by YaST2. Last modification on Sat Nov 29 09:37:32 EST 2008 default 0 timeout 8 gfxmenu (hd1,4)/boot/message ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1)### title openSUSE 10.3 - 2.6.22.19-0.1 (/dev/sdb1) rootnoverify (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 Beta5 (/dev/sdc6) root (hd1,4) kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part6 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 Beta5 (/dev/sdc6) root (hd1,4) kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part6 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 Beta5 (/dev/sdc6) root (hd1,4) kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part6 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.1 - 2.6.27.7-8 root (hd1,4) kernel /boot/vmlinuz-2.6.27.7-8-default root=/dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part5 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a initrd /boot/initrd-2.6.27.7-8-default ###Don't change this comment - YaST2 identifier: Original name: floppy### title Floppy rootnoverify (fd0) chainloader +1 ---------------------------------------------- Note how the final section cloned has overwritten the previous 2 entries. In the menu.lst file produced, the settings are the same for each of these 'openSUSE 11.1 Beta5 (/dev/sdc6)' entries. Also, note that the 'root (hd1,4)' setting for these three entries comes from the original 'openSUSE 11.1 RC1 x64 (/dev/sdc5)' entry, and not the 'root (hd1,5)' setting that it should have been, from the final 'openSUSE 11.1 Beta5 (/dev/sdc6)' entry. Two screenshots are attached, which show the settings in the 'Boot Loader' window before clicking on OK. Also attached /var/log/y2log. This was installed from openSUSE-11.1-RC1-KDE4-LiveCD-x86_64.iso on an AMD Athlon 64 3200+ processor. -- 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=450190 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c1 --- Comment #1 from Geoff Farrell <gfarrell@netspeed.com.au> 2008-11-28 17:56:16 MST --- Created an attachment (id=256706) --> (https://bugzilla.novell.com/attachment.cgi?id=256706) YaST2 Boot Loader settings window Shows left side of settings. -- 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=450190 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c2 --- Comment #2 from Geoff Farrell <gfarrell@netspeed.com.au> 2008-11-28 17:57:26 MST --- Created an attachment (id=256707) --> (https://bugzilla.novell.com/attachment.cgi?id=256707) YaST2 Boot Loader settings window, second view Shows the settings off the right side of the first view. -- 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=450190 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c3 --- Comment #3 from Geoff Farrell <gfarrell@netspeed.com.au> 2008-11-28 18:04:14 MST --- Created an attachment (id=256708) --> (https://bugzilla.novell.com/attachment.cgi?id=256708) Copy of /var/log/YaST2/y2log -- 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=450190 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.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=450190 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c4 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jreidinger@novell.com |juhliarik@novell.com --- Comment #4 from Josef Reidinger <jreidinger@novell.com> 2008-12-01 01:37:58 MST --- jozo - still same problem, you cannot send same reference in __lines key. see: 2008-11-29 09:37:31 <1> HomeLin11-1RC1x64(3871) [Bootloader_API] modules/Bootloader_API.pm(Bootloader_API::DumpLog):28 Core::SetSettings: store: sections:__changed - 1 - noverifyroot - false - vgamode - 0x31a - original_name - linux - name - openSUSE 11.1 RC1 x64 (/dev/sdc5) - append - resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts - image - /boot/vmlinuz-2.6.27.7-8-default - lines_cache_id - 0 - __lines - !!!ARRAY(0x1489f28)!!! - initrd - /boot/initrd-2.6.27.7-8-default - type - image - root - /dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part5 - __modified - 1 - initial - 1 2008-11-29 09:37:31 <1> HomeLin11-1RC1x64(3871) [Bootloader_API] modules/Bootloader_API.pm(Bootloader_API::DumpLog):28 Core::SetSettings: store: sections:__changed - 1 - noverifyroot - false - vgamode - 0x31a - original_name - - name - openSUSE 11.1 RC1 i686 (/dev/sdc1) - append - resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts - image - /boot/vmlinuz - lines_cache_id - - __lines - !!!ARRAY(0x1489f28)!!! - __auto - 0 - initrd - /boot/initrd - type - image - root - /dev/disk/by-id/ata-ST380817AS_5MR3Q0V9-part1 - __modified - 1 - initial - 1 and same in other 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.
https://bugzilla.novell.com/show_bug.cgi?id=450190 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P3 - Medium -- 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=450190 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c5 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Jozef Uhliarik <juhliarik@novell.com> 2008-12-01 10:39:51 MST --- fixed in yast2-bootloader 2.17.44 -- 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=450190 User 1kfmm4x02@sneakemail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450190#c6 Per Ångström <1kfmm4x02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |1kfmm4x02@sneakemail.com --- Comment #6 from Per Ångström <1kfmm4x02@sneakemail.com> 2009-01-22 12:48:27 MST --- I just got bitten by this bug, or something very similar. The funny thing is, I've got yast2-bootloader-2.17.44-1.1 (11.1 final). -- 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