Re: How to install new kernels in grub?

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

 



On 25/10/24 21:31, ToddAndMargo via users wrote:
On 10/23/24 20:56, ToddAndMargo via users wrote:
Hi All,

$ rpm -qa kernel
kernel-6.5.10-200.fc38.x86_64
kernel-6.11.3-100.fc39.x86_64
kernel-6.11.4-201.fc40.x86_64

Problem, only the 38 kernel shows in grub.

How do I get the 40 kernel to show in grub?

Yours in confusion,
-T



This may be the issue:

# mount | grep "/boot "
/dev/nvme0n1p2 on /boot type ext4 (rw,relatime,seclabel)

# grub2-install  /dev/nvme0n1
Installing for x86_64-efi platform.
grub2-install: error: This utility should not be used for EFI platforms because it does not support UEFI Secure Boot. If you really wish to proceed, invoke the --force option.
Make sure Secure Boot is disabled before proceeding.
These days when kernels are installed Fedora runs grubby to build the Grub boot menus. I've never liked the format of those menus so being UEFI rather than legacy bios I always manually run sudo grub2-mkconfig -o /boot/grub2/grub.cfg. Grub2-install is never used on uefi systems it is only ever used on legacy bios systems.
Check /boot/efi/EFI/fedora, there should be a grub.cfg there that loads /boot/grub2/grub.cfg which will then load the grub menus at boot, that menu should then have all kernels installed. Also check /etc/default/grub, that file should have a line in it to supply the kernel options to be used at boot which should contain the options to blacklist nouveau if you are using nvidia drivers.

regards,
Steve


Attachment: OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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