On 8/1/23 12:48, Roger Heflin wrote:
grubby changes the per-kernel options (in the entries files), it has
never cared about what was in /etc/default/grub.
Typically /etc/default/grub is useless because typically no one ever
runs grub2-mkconfig, so the file is kind of pointless.
And kernel installs copy the options from one of the other
kernels(likely the currently booting on), so if you have the right
options on the other kernels then it will copy the right options.
I have always wanted the kernel entries for Fedora and Ubuntu in
sub-menus and the current kernel in the main menu. Traditionally grubby
has always rewritten the grub menus to undo that functionality, hence I
have always run grub2-mkconfig, plus I turn off blscfg as it has the
same issues as grubby has done. I will continually run grub2-mkconfig
until such time as the other facilities do things the way I want.
regards,
Steve
On Sat, Jan 7, 2023 at 7:43 PM Stephen Morris
<samor...@netspace.net.au> wrote:
On 7/1/23 18:43, Tim via users wrote:
> On Sat, 2023-01-07 at 14:36 +1100, Stephen Morris wrote:
>> I've just done an update which installed kernel 6.0.16 and I forgot
>> to run grub2-mkconfig, and when I booted from the grub menu's
defined in
>> /boot/grub2/grub.cfg presumably updated by grubby, it did not run
>> initrd, the grub.cfg file generated by grub2-mkconfig does run
initrd.
> I have to ask, since I see a lot of grubby posts (pun intended):
>
> I've *NEVER* run grub2-mkconfig. I've always just yum/dnf
update (do
> all current updates), or just dnf update kernel (if I wanted to
> specifically just do that), and it's always installed the new kernel
> properly all by itself. No further action was required by me.
>
> What are people doing to their systems that they paint
themselves into
> a corner that they have to manually manage this, then have to
pick up
> the pieces when it doesn't work?
>
I have always run grub2-mkconfig both for legacy and uefi
environments
because in the past grubby did not honour the configuration I
specified
in /etc/default/grub. For example, I always specify that I want
sub-menus for all linux environments and grubby always refused to do
that, whereas grub2-mkconfig always did, hence I always used that.
regards,
Steve
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list --users@lists.fedoraproject.org
To unsubscribe send an email tousers-le...@lists.fedoraproject.org
Fedora Code of
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List
Archives:https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report
it:https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue