Re: can't get grub to use /etc/default/grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux