You are not logged in.
From some time, when grub is updated, there is a message:
:: To use the new features provided in this GRUB update, it is recommended
to install it to the MBR or UEFI. Due to potential configuration
incompatibilities, it is advised to run both, installation and generation
of configuration:
$ grub-install ...
$ grub-mkconfig -o /boot/grub/grub.cfg
Is it really needed to reinstall grub after every grub update, like it was with lilo in the past? Maybe it depends whether someone use BIOS or UEFI or any other grub option?
Last edited by xerxes_ (2022-12-12 18:09:49)
Offline
When grub itself is updated, yes, you have to install it if you want to use the new version. The package doesn't install things to the boot sector/ESP, it just installs things to be able to install it there.
It's not like lilo where you had to reinstall it on every kernel update, that was because lilo wasn't filesystem aware and it had to know the offset of where to find the kernel.
Last edited by Scimmia (2022-12-10 19:08:35)
Offline
So grub should boot the system event without it's reinstall, isn't it? And new version of grub, maybe with new (security) features, would be important for system with UEFI, but not for system with BIOS, where there in no new features?
Offline
So grub should boot the system event without it's reinstall, isn't it? And new version of grub, maybe with new (security) features, would be important for system with UEFI, but not for system with BIOS, where there in no new features?
No. That was the point. The update broke booting. As far as I know, it makes no odds whether you are using UEFI or BIOS booting. It's about changes to grub's configuration options and ensuring grub's config can be understood by the installed grub.
Last edited by cfr (2022-12-11 00:18:13)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
So grub should boot the system event without it's reinstall, isn't it? And new version of grub, maybe with new (security) features, would be important for system with UEFI, but not for system with BIOS, where there in no new features?
There is no pacman hook to reinstall and reconfigure grub because it can be configured many different ways.
You have the option of creating your own pacman hook to reinstall and reconfigure grub automagically.
Last edited by lenhuppe (2022-12-11 00:24:31)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
Is that sufficient to run grub-install followed by grub-mkconfig? Or additional steps required?
Ukrainian
Offline
Is that sufficient to run grub-install followed by grub-mkconfig? Or additional steps required?
I believe that is sufficient. It was 1 step. Now it is 2.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline