On 5/20/23 7:32 PM, Samuel Sieb wrote:
On 5/20/23 18:17, home user wrote:
On 5/20/23 7:07 PM, Samuel Sieb wrote:
On 5/20/23 18:01, home user wrote:
On 5/20/23 6:53 PM, Samuel Sieb wrote:
On 5/20/23 17:17, home user wrote:
[... snip ...]
How do I get the grub menu corrected?
Assuming the BLS conversion happened, look in /boot/loader/entries/ and remove any entries that don't correspond to installed kernels. If they aren't there, then you'll have to regenerate the grub config file.
Thank-you, Samuel.
What is "BLS conversion"?
Boot Loader Specification:
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault
Instead of a monolithic config file with all the entries in it, there are now snippets for each entry in /boot/loader/entries/ and grub loads them from there to make the menu.
So the conversion should have happened automagically over 3 years ago. How can I verify that it did correctly happen?
You have the directory and files, so it happened.
Current kernels and /boot/loader/entries/ contents:
-----
-bash.7[~]: rpm -q kernel
kernel-6.2.14-200.fc37.x86_64
kernel-6.2.15-200.fc37.x86_64
-bash.8[~]: cd /boot/loader/entries/
-bash.9[entries]: ls -l
total 10
-rw-r--r--. 1 root root 613 Mar 15 08:59 70857e3fb05849139515e66a3fdc6b38-0-rescue.conf
-rw-r--r--. 1 root root 548 Apr 20 13:08 70857e3fb05849139515e66a3fdc6b38-6.2.10-200.fc37.x86_64.conf
-rw-r--r--. 1 root root 548 Apr 27 12:28 70857e3fb05849139515e66a3fdc6b38-6.2.12-200.fc37.x86_64.conf
-rw-r--r--. 1 root root 548 May 11 14:31 70857e3fb05849139515e66a3fdc6b38-6.2.14-200.fc37.x86_64.conf
-rw-r--r--. 1 root root 548 May 18 12:19 70857e3fb05849139515e66a3fdc6b38-6.2.15-200.fc37.x86_64.conf
-bash.10[entries]:
-----
So I should delete the files for rescue, 6.2.10, and 6.2.12, right?
Yes.
Done.
I've been groping around in Fedora docs to see how to regenerate the grub config file. If it's relevant, I found how to determine what firmware I have:
-----
-bash.14[entries]: [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
BIOS
-bash.15[entries]:
-----
I also know I do not have BTRFS.
From what I see in the Fedora doc, is this my next step:
"grub2-mkconfig -o /boot/grub2/grub.cfg"?
If no, what? ...or is grub menu clean-up done?
_______________________________________________
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