Grub2 not able to boot Windows

Hi, I don’t use Windows very much, so I just found out that grub2 is not able to boot Windows, despite the fact that the installation went fine, even dealing with UEFI issues. I took a snapshot of the error I get:

http://i.stack.imgur.com/3FtB7.jpg

This is the content of the /boot/grub2/grub.cfg that refers to Windows:



### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menu
entry_id_option 'osprober-efi-969C-DCCA' {
    insmod part_gpt 
    insmod fat
    set root='hd0,gpt2'
    if  x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-ef
i=hd0,gpt2 --hint-baremetal=ahci0,gpt2  969C-DCCA
    else
      search --no-floppy --fs-uuid --set=root 969C-DCCA
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

I think the path to** /EFI/Microsoft/Boot/bootmgfw.efi** is wrong, because the actual path in cludes /boot/efi before, so I have tried to edit that line to include this missing part. But the error now is different, stating that that image is not valid. Any idea on how to proceed? Windows still works, but in order to boot it I have to enter the setup and change the boot order everu time I boot, which is very annoying. I’m pretty sure it must be a silly mistake in this configuration file that fixes the issue. With Suse 12.3 it was working fine, but unfortunately I didn’t keep a backup of the grub.cfg file.

http://bugzilla.opensuse.org/show_bug.cgi?id=954126

As a workaround, disable secure boot.

Thanks for the fast and precise reply. I hope this gets fixed soon.