Yup. Not gonna lie, I didn’t even know the grub-install command was a thing before the grub issue. I knew what grub does, but I didn’t think it required any “manual maintenance”.
While I wasn’t affected by the issue, since I saw the post before updating, I was still able to learn something.
The reason to update grub cfg has not vanished, so if the hook is removed, the user should do it manually.
I guess you mean “the Install Grub to ESP” procedure, not the “re-generate grub.cfg”.
In any case, there is no magical solution to avoid all possible future bugs, thus the user should normally do everything manually.
All distributions try to lessen the difficulty of maintaining/administrating their OS, but every automatic solution may become obsolete with future package upgrades at any time.
This way, packaging becomes an art, if (any) upstream devs want to avoid backwards compatibility problems.
Arch is not for ease-of-mind local admins, even if many derivatives try to accomplish that (and even worse, advertise as such).
You appear to have a standard UEFI partition scheme but you have no access to UEFI variables which means you are booted in BIOS mode. I don’t understand how that is possible to be honest.
I just want to confirm one more time.
When you ran the command sudo efibootmgr, you were booted into your install as normal, not booted off a live ISO or something else.
It seems that you are booting in BIOS mode. But your install is definitely not setup for that. You disk is GPT, you have an ESP and your ESP is the partition that is set to be bootable.
My best guess would be that you did a UEFI install originally and then at some point(maybe during the grub debacle?), reinstalled grub in BIOS mode.
What you probably should do is boot the live ISO in UEFI mode and reinstall grub in UEFI mode.
I was very certain that it would be an uefi install, I always do that since a couple of years.
But I am booting in bios mode and I can’t for the love of god remember what I did so that this machine boots in bios mode.
Changing the modus in the bios from uefi+legacy to uefi boots to grub rescue, so I’ll probably reinstall grub with a live iso.
Wouldn’t grub-install, in this case, complain about embedding not being possible on a GPT disk which is lacking a bios_grub partition and fail consequently?