Re: Grubby? Doesn't Load Initrd

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

 



On 8/1/23 02:42, Tim via users wrote:
Tim:
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.


Jonathan Billings:
You should never need to run grub2-mkconfig after each kernel update.
The only reason I can guess at is that they ran it to overwrite the
file in /boot/efi/EFI/fedora/ (which is normally a stub that loads
the default file in /boot/grub2/) and now they have to manually run
it each time.

Normally, the only reason you’d run it is if you changed a variable
in /etc/default/grub. Grubby just creates new bootloaderspec files in
/boot/loader.
Somewhere along the line I removed "rhgb" from there, one way or
another (*), I don't recall ever running grub2-mkconfig, and I've
certainly never run it at every kernel update.

* I don't recall which method I used to remove it from the kernel
command line, but it's not in there, and my system is running fine.

It's the one change I make to booting up Linux, I want to see that it's
actually booting and not jammed.  And if it has, I want to see where,
straight away, no horsing around after the fact.  Blank bootup screens
are one of the dumbest things about certain other OSs that Linux has
copied.
One other reason for running grub2-mkconfig that I forgot to mention in my previous email is I also turn off the blscfg functionality in /etc/default/grub because it doesn't honour all of those settings either.

regards,
Steve


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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