In my searches, didn't come across that thread. It was my first time on
Discord.
I didn't have to re-install the kernel, just ran the script that Villy
Kruse recommended.
-------------
The exact command to do that you can find by running
rpm -q --scripts kernel-core | grep add
Example
/bin/kernel-install add 6.5.9-300.fc39.x86_64
/lib/modules/6.5.9-300.fc39.x86_64/vmlinuz || exit $?
/bin/kernel-install add 6.5.10-300.fc39.x86_64
/lib/modules/6.5.10-300.fc39.x86_64/vmlinuz || exit $?
/bin/kernel-install add 6.5.11-300.fc39.x86_64
/lib/modules/6.5.11-300.fc39.x86_64/vmlinuz || exit $?
Re-installing the latest kernel-core package would do the same thing
except downloading it again from the repository.
----------------
Computer booted today and now works.
Robin
On 12/11/2023 05.59, Suse Shi wrote:
https://www.shisaihua.com/fedora-39-upgraded-and-kernel-not-shown-in-grub-list/ <https://www.shisaihua.com/fedora-39-upgraded-and-kernel-not-shown-in-grub-list/>
to remove /boot/efi/xxxxxxxx folder works.
Robin Laing <mesat@xxxxxxxxxxxxxxx <mailto:mesat@xxxxxxxxxxxxxxx>> 于
2023年11月12日周日 16:46写道:
On 11/11/2023 22.12, Mike Wright wrote:
> On 11/11/23 19:48, Robin Laing wrote:
>> Hello,
>>
>> I did an upgrade today from from FC37 to FC39 and all went well
except
>> that the kernel is NOT in grub.
>>
>> All the apps are now FC39 but no option to boot with the FC39
kernel.
>>
>> I tried to reinstall the kernel to see if it would be picked up by
>> grub that that didn't work either.
>>
>> RPM shows that the kernel is installed.
>>
>> How do I progress from here?
>
> sudo update-grub ?
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
<mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
> To unsubscribe send an email to
users-leave@xxxxxxxxxxxxxxxxxxxxxxx
<mailto:users-leave@xxxxxxxxxxxxxxxxxxxxxxx>
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
<https://docs.fedoraproject.org/en-US/project/code-of-conduct/>
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
<https://fedoraproject.org/wiki/Mailing_list_guidelines>
> List Archives:
>
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx <https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx>
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
<https://pagure.io/fedora-infrastructure/new_issue>
I tried that and it didn't work.
I got help on the Fedora Discord and it was a strange issue related to
previous upgrades.
I had a directory on my system pointing to the FC39 kernel.
-rwx------. 1 root root 35973272 Nov 11 19:24
/boot/efi/1a7fd46e52044d0b903f101cf47a634d/6.5.11-300.fc39.x86_64/initrd
The instructions I got were to remove that directory and run the command
rpm -q --scripts kernel-core | grep add
Which brought me to this script to run.
/bin/kernel-install add 6.5.11-300.fc39.x86_64
/lib/modules/6.5.11-300.fc39.x86_64/vmlinuz || exit $?
The FC39 kernel now shows up when I run
grubby --info=ALL
From the help on Discord, the comment was:
The existence of the directory
/boot/efi/1a7fd46e52044d0b903f101cf47a634d triggers the update to
generate systemd-boot configuration. In previous version it did not
always do that.
I have done what I have been instructed remotely and will try
booting in
the morning to see if it worked.
Will post an update.
Robin
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
<mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
<mailto:users-leave@xxxxxxxxxxxxxxxxxxxxxxx>
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
<https://docs.fedoraproject.org/en-US/project/code-of-conduct/>
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
<https://fedoraproject.org/wiki/Mailing_list_guidelines>
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx <https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx>
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
<https://pagure.io/fedora-infrastructure/new_issue>
--
Regards,
-suse
--
Save money, use Open Source Software.
Free Office Suite at
http://www.libreoffice.org
_______________________________________________
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