r/archlinux • • 1d ago

SUPPORT | SOLVED What are Efiboot next entries in GRUB menu?

hello everyone, recently some new grub entries spawned in my grub menu after a mkconfig. They are called something like efiboot next on something. how can i disable them and keep: 1. Arch Linux 2. Advanced options for arch linux 3. os-prober like windows boot manager 4. UEFi firmware settings.

Also, i tried editing the loglevel to hide the [ OK ] messages but didn't manage to. Does anybody have these problems and can help me? Thank you for the support.

5 Upvotes

9 comments sorted by

7

u/loudtrex 1d ago

I think you mean nextboot. If so open the /etc/default/grub and add

GRUB_DISABLE_BOOTNEXT=true

To the config file and then run

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

1

u/Perro84 1d ago

thank you, it worked

2

u/ldm-77 1d ago

in the latest versions of GRUB, the following has been added:

/etc/grub.d/31_efi_bootnext

which creates new entries in the GRUB menu (known as EFI BootNext)

if you don't want these, simply add GRUB_DISABLE_BOOTNEXT=true to /etc/default/grub

1

u/agowa338 1d ago

Efiboot next is when you've a multi boot system and you want to reboot from e.g. windows into linux or vice verse. It literally is the entry that says "what boots next". And it is getting cleared right after. So it doesn't persist.

Also for efi systems you don't really need GRUB anymore. Systemd-boot with it being registered in your firmware is good enough. I think the boot-next entry in Grub was a bit different it was what is ordered after it in the boot chain in bios.

-1

u/Separate_Release3063 1d ago

oh that makes a lot of sense now, was wondering why those kept showing up after dual booting. systemd-boot is way cleaner but man some folks just stick with grub out of habit, it's like the vim of bootloaders

0

u/archover 1d ago

No reference to this, so I suggest reading it first. https://wiki.archlinux.org/title/GRUB, or say you had. Which part confused you?

As may not know, /boot/grub/grub.conf is read to create the displayed menu.

Your post is light on details too.

Hope you get your answer and good day.

0

u/y9felix 1d ago

To remove the [OK] and stuff add quiet loglevel=3 rd.udev.log_level=3 systemd.show_status=0 to your kernel parameters, i think one of them has to disable the thing

0

u/user865798 1d ago

The same thing happened to me recently after an update. You can remove the entries, something like:

sudo chmod -x /etc/grub.d/30_uefi-firmware /etc/grub.d/31_efi_bootnext

and then:

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

Maybe ask claude for some help.

1

u/soccerbeast55 2h ago

This is a short-term, temporary fix and will get overwritten by future grub updates. The better/correct way would be to add the following line in /etc/default/grub

GRUB_DISABLE_BOOTNEXT=true

Then rebuild grub with:

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