On 11/24/18 1:20 PM, stan wrote:
The only time grub-mkconfig runs is if it is run manually. On
kernel
updates a program called grubby runs and just copies the boot lines
from previous kernels. So, if you want the new kernel boot line, as
Oleg suggested, you will have to run, in /boot/grub2 or /boot/efi/grub2
(I think) grub2-mkconfig -o grub.cfg. I'm not sure of the directory
with grub.cfg using EFI so check before you run that grub.cfg is in the
directory.
You don't need to run mkconfig at all. Just edit the last entry in the
grub config file and grubby will carry that over to each new kernel that
is installed.