boot menu bug?

i come from ubuntu installation and i have had opensuse before and i remember installing any of thede two without any problem on any of many harddisk arrangement .
but thge ltest opensuse 11.3 doesnt pllay nice with my windows and ubuntu installation booting.
i reember using boot loader in yast and it used to lload the coorect setting from scratch. but now when i chose “propose new configuration” and it founds opensuse and three other windows !

this is my harddisk info of installed systems
/dev/sda1 on /media/ubuntu/root type ext4
/dev/sdb1 on /windows/D (windows root drive)
/dev/sdc1 (opensuse root disk)

this is my proposed boot menu.lst!

Modified by YaST2. Last modification on Tue Nov 16 21:11:29 IRST 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader



default 0
timeout 8
gfxmenu (hd2,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3
    root (hd2,0)
    kernel /vmlinuz root=/dev/disk/by-id/ata-ST3500418AS_6VM1T1HR-part2 resume=/dev/disk/by-id/ata-ST31000528AS_9VP6LFE2-part6 splash=silent quiet showopts
    initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
    rootnoverify (hd0,3)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
    map (hd1) (hd0)
    map (hd0) (hd1)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows 3###
title windows 3
    map (hd3) (hd0)
    map (hd0) (hd3)
    rootnoverify (hd3,0)
    makeactive
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows 4###
title windows 4                                                                                                               
    map (hd4) (hd0)                                                                                                           
    map (hd0) (hd4)                                                                                                           
    rootnoverify (hd4,0)
    makeactive
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3
    root (hd2,0)
    kernel /vmlinuz root=/dev/disk/by-id/ata-ST3500418AS_6VM1T1HR-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset  x11failsafe
    initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: linux###
title Kernel-2.6.34.7-0.5-default
    root (hd2,0)
    kernel /vmlinuz-2.6.34.7-0.5-default root=/dev/disk/by-id/ata-ST3500418AS_6VM1T1HR-part2 resume=/dev/disk/by-id/ata-ST31000528AS_9VP6LFE2-part6 splash=silent quiet showopts
    initrd /initrd-2.6.34.7-0.5-default



This script converts (Grub2 -> Legacy Grub syntax) and displays on standard output Ubuntu’s Grub entries that you can add to openSUSE /boot/grub/menu.lst :

Extracting Ubuntu (Grub2) boot entries.

thats good to know but my question is why opensuse no longer can recognize the bootable option correctly and propose the boot menu as it did it versions i used to have (like 11.1 x64)

p.s.
i tried the script but it just found a ubuntu menu list and not the windows one.so it seems i have to go manual way.

why opensuse it going backward in features?
first i cant set nvidia resolution and now this?
hope they find the bug .
this is a bug, right?

openSUSE doesn’t add Ubuntu’s Grub entries automatically since Ubuntu uses Grub2. It would add other distros boot entries, as far as they use Legacy Grub.

This script is just looking for Ubuntu’s Grub entries. The findgrub script (despite ist name) is looking for the Windows Bootlader and displays boot entries to add:
Looking for Grub and Windows bootloader in all partitions.

This is not a bug. But here’s one : Grub looses menu entry after kernel update

So back up you /boot/grub/menu.lst before you apply a kernel update.:frowning:

Looks like you do have multiple entries for Windows. Sometimes OS 11 incorrectly updates the grub menus, and its adding entries you don’t have or need.

Your Windows boot should be “windows 2”. You can comment out the extra windows and I’m not sure about the default 0 but if that’s not broke then don’t fix it.

thanks for all answers

openSUSE doesn’t add Ubuntu’s Grub entries automatically since Ubuntu uses Grub2. It would add other distros boot entries, as far as they use Legacy Grub.

i bthught opensuse scans the partitions and finds other oses and add them based on thier boot option
(like windows as chainloader and ubuntu as linux).
this is not the case right? so opensuse just looks for grub entries and adds them??
so why windows has 3 entries? its because grub2 is in sda not sda1(root of the ubuntu).if so how can i remove grub2 from that,without formating all sda :slight_smile:

i have deleted the root partition of ubuntu and now instead of three windows opensuse finds 2 windows :slight_smile:

I thought that too… but I think it just looks for other (sXY)/boot/grub/menu.lst. It doesn’t even check if another grub is present in the MBR … or it doesn’t care, but the result is the same.

I dunno.

Under Windows, using one of the following commands, depending on Windows version:
**fdisk /mbr
fixmbr
bootsect /mbr
**
or when you install openSUSE by checking ‘write generic boot code to MBR’ in the advanced boot options.

i have deleted the root partition of ubuntu and now instead of three windows opensuse finds 2 windows :slight_smile:

What do you really intend to do?

no sda in ubuntu root device
windows is on sdb
i want grub removed from sda

What do you want to do next (beyond removing Grub)? Do you plan to install something else?

Btw, you can use Windows to rewrite a generic MBR on any hard disk. But I don’t know the extact syntax, as I don’t use Windows.