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.