Raptor Computing Systems Community Forums (BETA)
Software => Operating Systems and Porting => Topic started by: DKnoto on July 11, 2022, 02:16:48 pm
-
I recently upgraded Fedora 36. DNF showed me that he has installed a new kernel 5.18.10. Unfortunately, petitboot still only sees kernel 5.18.7 after a reboot. Do I have to do anything else special?
-
Hi, Petit boot on Fedora usually gets to see up to 3 Kernels installed by default. This is because I don't know if you know, Fedora by defoult keeps up to 3 installed kernels. So I don't know if you mean that you see the old one again and why you see it, or if you don't see 5.18.10 and you still see only 5.18.7 ... The post is not clear ...
-
I added pictures. What petetiboot sees and what I have in the /boot directory.
-
As MauryG5 said, usually Fedora installs three Kernel max (installonly_limit=3). You could look in the dnf.conf, IIRC if this is changed for what ever reason.
Then I would try to "sudo update-grub" if anything changes. Usually this is done automatically.
-
What I cannot understand is why on the petit boot it does not display the other 2, it is very strange in fact ... I never had such a situation when I was using Fedora ... You should also try in case with the question that shows all installed kernels and see what it says from that ...
"rpm -qa | grep kernel"
With this you see more effectively if there are kernels installed, I would not like that through the command you give, it shows you some files but in reality there is not everything you need. Check well with that command and see if it gives you the list of 3 Kernels that are seen in the command you give ...
-
I recently upgraded Fedora 36. DNF showed me that he has installed a new kernel 5.18.10. Unfortunately, petitboot still only sees kernel 5.18.7 after a reboot. Do I have to do anything else special?
You may have hit what I hit in F35: https://www.talospace.com/2021/11/fedora-35-mini-review-on-blackbird-and.html
The solution was to boot with the latest kernel it offers you and immediately grub2-mkconfig -o /boot/grub2/grub.cfg and restart.
-
Many thanks to ClassicHasClass, that was it.
-
AlmaLinux 9 has the same problem. After manually updating the configuration of grub, you can see all your Linux kernels in the list ;D
-
Additionally, must remember to manually remove old kernels. The update script doesn't work in this regard either and the /boot directory gets clogged up quickly.