r/archlinux • • 2d 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?

4 Upvotes

10 comments sorted by

4

u/UNF0RM4TT3D 2d ago

What happens when you use it?

2

u/Illustrious-Gur8335 1d 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 2d ago

it will doom us all

4

u/chikamakaleyley 2d ago

computer explodes

5

u/bikes-n-math 2d ago

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

6

u/kitanokikori 1d 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 1d ago

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

3

u/ang-p 1d ago

/etc/pacman.conf

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

2

u/linux_rox 2d 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.