On 24.11.2018 22:20, stan wrote:
On Sat, 24 Nov 2018 15:19:07 -0500
sean darcy <seandarcy2@xxxxxxxxx> wrote:
On 11/24/18 1:34 PM, Oleg Cherkasov wrote:
Shall you update grub configuration instead?
grub2-mkconfig --output=/boot/grub2/grub.cfg
_______________________________________________
Yes, I could do that. But I'd like this to happen on each update.
Doesn't/shouldn't kernel update run grub2-mkconfig ?
And which kernel* is supposed to run it ? Or is the user expected to
roll his own ?
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.
For UEFI version of boot sequence it would be:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx