Boot UEFI option on boot - how to hide it?

Hi,
I installed Leap 15.6, but in boot options I got 3rd option “UEFI firmware settings” (beside boot 156 and Advanced boot). Is there any way to turn that option odd, because it leads to Bios settings?

Thank you for answering my questions.

Move the file

/etc/grub.d/30_uefi-firmware

(on your system the filename may start with a number different to 30) to a secure destination (for backup).

Then run (as user “root” in a konsole/virtual terminal)

grub2-mkconfig -o /boot/grub2/grub.cfg

When restarting your system the boot entry for UEFI firmware should be gone.

1 Like

This is such a brilliant! Thank you, my friend(s)! :slight_smile: You may select this topic as “Solved” :slight_smile:

As far as I know only you as the creator of this thread can select one of the posts (of this thread) to be the solution to your problem.

It will be reinstalled on update. Better is to edit this file and add exit 0 as the very first command. These files are marked as %config %noreplace and so changes will be preserved.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.