After installing new kernel how to update /boot EFI directory?

From my notes, I have:
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --target=x86_64-efi --efi-directory=/boot

or should it be:
grub-mkconfig -o /boot/grub/grub.cfg
efibootmgr -c -d /dev/nvme0n1p1 -p 1 -L "Gentoo" -l 
/boot/grub/x86_64-efi/core.efi

Boot partition is:
/dev/nvme0n1p1   =  /boot

--
Thelma

Reply via email to