On Sun, 31 May 2020 at 05:41, Patrick Dupre <pdupre@gmx.com> wrote:
Hello,

On a multi-boot PC, how grub is updated?
In the past /etc/grub2.cfg was updated.

and now?

It seems that there are 2 tools: bootctl, and efibootmgr

What are the files managed by these tools?

How to understand?
BootCurrent: 000F

Is there a problem you need to solve or are you trying to understand how booting is handled by Fedora on an EFI system?

Where did you see this: error message, log, or ??   On a dual boot system using EFI,  "efibootmgr" with no arguments should display something like:

 % efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0000
Boot0000* Windows Boot Manager
Boot0003* Fedora

A better name for the "Fedora" entry might be "Grub boot manager".


Which tool is run after an update of the kernel?

bootctl -- both those tools have man pages that explain how they are used.   

Since you are multi-booting, https://en.wikipedia.org/wiki/EFI_system_partition might he helpful.  

The grub configuration files were recently reorganized into a grub.d directory (you can opt out and stick with the old structure). See: https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader/

--
George N. White III