r/archlinux • • 3d ago

QUESTION grub-mkconfig creates "UEFI firmware settings" entry even on BIOS systems?

Testing Arch install using a Virtualbox VM and I noticed grub-mkconfig adds boot menu entry for UEFI firmware settings, when my VM is using BIOS. Is there any way to stop it writing this entry?

3 Upvotes

10 comments sorted by

4

u/UNF0RM4TT3D 3d ago

What happens when you use it?

2

u/Illustrious-Gur8335 2d ago

rebooted and the UEFI settings item doesn't appear in Grub... i think it does check for actual UEFI system when booting

4

u/akanezzx 3d ago

it will doom us all

4

u/chikamakaleyley 3d ago

computer explodes

5

u/bikes-n-math 3d ago

chmod -x /etc/grub.d/30_uefi-firmware && grub-mkconfig -o /boot/grub/grub.cfg

7

u/kitanokikori 3d ago

Why would you want to disable this entry, it lets you get into the BIOS menu without having to do the stupid "wait until the exact moment to hit F2" dance

4

u/ang-p 3d ago

Apart from "It hurts muh eyes", limited use in a VM, I guess....

3

u/ang-p 3d ago

/etc/pacman.conf

[options]
NoExtract = etc/grub.d/30_uefi-firmware

2

u/linux_rox 3d ago

The firmware settings takes you to the BIOS screen.

The fiirmware is literally your uefi/bios settings and software for hardware on your system.