Lost win entry...


since today or yesterday lost my win 7 entry on grub2…

and I do not see correct this on **GRUB.CFG : near 100 kernel entries: http://paste.opensuse.org/10197033


Windows entry is in your grub.cfg:

menuentry  'Windows 7 (loader) (on /dev/sda2)' --class windows --class os  $menuentry_id_option 'osprober-chain-5A4C3E5F4C3E365B' {

and other entries are for different kernels you have. If you do not need them, you need to uninstall these packages.

Looks like you probably have some misconfiguration of your repos

If you go to the advanced boot option you should be able select to boot kernel 3.11.10-7
The current one for 13.1

Then you can report your repos
And we can remove the problems and delete the stuff you don’t need, then re-config grub


fastly I saw:


could be this ?


You wrote that the windows entry is missing in the boot menu.
So you actually do not have a boot menu at all?
Then it would be that bug, yes (i.e. that grub2 has no write support for btrfs and LVM and therefore cannot remove the default boot entry override).
Or this one: https://bugzilla.novell.com/show_bug.cgi?id=856391 which actually is the same.

In this case you can just remove the file /boot/grub2/grubenv to show your boot menu again.


[size=2]Wolfi: did you see the lots of kernel entries on grub.cfg? how can I get rid of them??



This already has been answered:
Just uninstall the corresponding packages, either with YaST->Software Management (search for “kernel”, select the kernel package and click on “Versions” right below the package list), “zypper rm kernel-default-3.11.6-4.1” (or similar) or “rpm -e kernel-default-3.11.6-4.1” (or similar).

The reason for you having that many kernels installed (I haven’t counted them but there aren’t really 100… :wink: ), is probably this bug in purge-kernels:
https://bugzilla.novell.com/show_bug.cgi?id=864173(see also this mailing list discussion: http://lists.opensuse.org/opensuse/2014-02/msg00519.html )