Author Topic: Fedora 36: Kernel upgrade problem.  (Read 4408 times)

DKnoto

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +13/-0
    • View Profile
Fedora 36: Kernel upgrade problem.
« 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?
Desktop: Talos II T2P9S01 REV 1.01 | IBM Power 9/18c DD2.3, 02CY646 | AMD Radeon Pro WX7100 | 64GB RAM | SSD 1TB

MauryG5

  • Hero Member
  • *****
  • Posts: 760
  • Karma: +22/-1
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #1 on: July 12, 2022, 08:24:05 am »
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 ...

DKnoto

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +13/-0
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #2 on: July 12, 2022, 10:08:52 am »
I added pictures. What petetiboot sees and what I have in the /boot directory.
Desktop: Talos II T2P9S01 REV 1.01 | IBM Power 9/18c DD2.3, 02CY646 | AMD Radeon Pro WX7100 | 64GB RAM | SSD 1TB

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Fedora 36: Kernel upgrade problem.
« Reply #3 on: July 12, 2022, 03:17:46 pm »
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.
« Last Edit: July 12, 2022, 04:19:40 pm by MPC7500 »

MauryG5

  • Hero Member
  • *****
  • Posts: 760
  • Karma: +22/-1
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #4 on: July 12, 2022, 04:51:51 pm »
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 ...
« Last Edit: July 12, 2022, 04:57:39 pm by MauryG5 »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Fedora 36: Kernel upgrade problem.
« Reply #5 on: July 13, 2022, 12:31:30 am »
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.

DKnoto

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +13/-0
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #6 on: July 13, 2022, 02:05:31 am »
Many thanks to ClassicHasClass, that was it.
Desktop: Talos II T2P9S01 REV 1.01 | IBM Power 9/18c DD2.3, 02CY646 | AMD Radeon Pro WX7100 | 64GB RAM | SSD 1TB

DKnoto

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +13/-0
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #7 on: July 13, 2022, 12:24:18 pm »
AlmaLinux 9 has the same problem. After manually updating the configuration of grub, you can see all your Linux kernels in the list  ;D
Desktop: Talos II T2P9S01 REV 1.01 | IBM Power 9/18c DD2.3, 02CY646 | AMD Radeon Pro WX7100 | 64GB RAM | SSD 1TB

DKnoto

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +13/-0
    • View Profile
Re: Fedora 36: Kernel upgrade problem.
« Reply #8 on: July 14, 2022, 01:54:54 am »
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.
Desktop: Talos II T2P9S01 REV 1.01 | IBM Power 9/18c DD2.3, 02CY646 | AMD Radeon Pro WX7100 | 64GB RAM | SSD 1TB