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