Recover UEFI’s grub entry after updating BIOS

Another BIOS update from my MSI B550-A Pro motherboard, another loss of all BIOS settings and boot entries…

Here’s how I recovered this time as a Slackware bootable install USB-key wouldn’t boot.

Boot from a LiveSlak

open a Konsole

become root

su -

Re-create boot entry

efibootmgr -c -g -d /dev/nvme0n1 -p 1 -w -L "Slackware" -l '\EFI\grub\grubx64.efi'