Remove unwanted entires from boot screen


about 2 weeks ago, after update there is two duplicated entries for opensuse. Both of them are working.

I want to remove them and have only 2 as there should be, and windows 7.

How to remove them ? My boot loader is GRUB2.


start yast go to boot loader config and remove entries you don’t want

Please show your /boot/grub2/grub.cfg (upload to and post link here).

I don’t have option to remove unwanted entries.

Here is my grub.cfg

Remove files with .rpmorig suffix in /etc/grub.d, like /etc/grub.d/10_linux.rpmorig. They generate double entries. You will need to re-run “grub2-mkconfig -o /boot/grub2/grub.cfg” after that.

I use the ‘90_persistent’ grub.cfg entry like a grub legacy menu.lst. I put the entries I want to see in there and then make all the files in /etc/grub.d/ non-executable except ‘00_header’ and ‘90_persistent’. You can then manually change your entries if you need to in the future.
Occasionally if there’s an update of grub it all reverts to full grub2 so you have to fix it again.

These entries shouldn’t be there at all. Don’t just edit or remove files, use Yast or GRUB’s tools, like grub2mkconfig.

I should probably add that I don’t have a UEFI mb. This may make a difference if I ever get one but I do think grub2 is far too complicated for just booting one or two systems.

??? Using GRUB2 since it was installed by some openSUSE installation long ago. Only one operating system (well occasionaly two when I test a new openSUSE release). I do not see any complication.

Complications may arise though when one does not follow the mainstream. Maybe not from day one. But nowadays not many people are still using old grub anymore and may have problems recalling how it worked when you ask for help with it.

This helped me :wink:

Thanks people and have a nice day.