Ask Your Question
0

Fedora 22 not using newer kernal after "dnf update"

asked 2015-08-13 12:50:39 -0600

hodevah gravatar image

Hello. I have had this problem for quite some time and have not been able to sufficiently resolve it. It's been ongoing since Fedora 21 as I recall. It is now prevalent in Fedora 22.

Post update using dnf, a newer linux-image kernel may be installed; however, it normally should be taking over the older/previous kernel used. I am still using kernel 4.0.5 while the newest kernel version as can be seen below is 4.1.2. Looking to have this resolved, please.

I have Googled this problem using search terms such as 'fedora not using updated kernel' but I don't receive too many results that are geared toward this problem. Is it just a simple matter of dnf remove 4.0.5-300.fc22.x86_and then update grub (by the way, grub is actually managed by another Linux OS, so therefore, I would need to update grub via the other Linux OS).

Fedora 22 has installed, but is not managed by the newer kernel.

I would rather ask first before performing any action as I'm afraid that, that command will leave me without a kernel to boot Fedora 22. That is, not too familiar if kernel 4.0.8 or any other newer kernel version would automatically be subject to the new kernel to boot with post removal of 4.0.5

"yum upgrade kernel XXXXX" doesn't translate for " dnf upgrade kernel XXXX"

Here are outputs of information:

uname -r

4.0.5-300.fc22.x86_64

rpm -q kernel

kernel-4.0.5-300.fc22.x86_64

kernel-4.0.8-300.fc22.x86_64

kernel-4.1.2-200.fc22.x86_64

dnf list installed "kernel-"

Installed Packages

kernel.x86_64 4.0.5-300.fc22 @System

kernel.x86_64 4.0.8-300.fc22 @System

kernel.x86_64 4.1.2-200.fc22 @System

edit retag flag offensive close merge delete

Comments

This may sound dumb, but it has to be asked: have you rebooted since updating the kernel?

sideburns gravatar imagesideburns ( 2015-08-13 13:26:10 -0600 )edit

@sideburns: I have had this problem since fedora 21. Please see the 1st paragraph in my post.

hodevah gravatar imagehodevah ( 2015-08-13 14:56:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-08-13 15:02:10 -0600

sideburns gravatar image

OK, asked and answered. It looks like grub isn't getting properly updated. And, since grub is being maintained by your other Linux distro, there's not much that we can do here. Your best bet is to ask on the support site for that other version because they're the ones controlling the update, not Fedora.

edit flag offensive delete link more

Comments

Hi. I disagree with your statement as the Arch based system is able to update the Grub menu showing the kernel from the third system also installed ( tri-boot system).

Updating Grub from the Grub controlling system historically has, and currently does not, present as an issue as evidenced by the fact i just mentioned regarding correct display of kernel versions in Grub (with the exception of Fedora).

It would be a Fedora issue.

What files within Fedora might be necessary to check to determine regarding this issue, please?

hodevah gravatar imagehodevah ( 2015-08-13 20:16:35 -0600 )edit

When you update Grub on the other system does it show the latest Fedora kernel or doesn't it?

sideburns gravatar imagesideburns ( 2015-08-14 01:09:20 -0600 )edit

When updating Grub on the controlling system it only displays the list of OS. It does not display the kernel versions per se.

However, when selecting, in this case Fedora 22, from GRUB> Advanced Options for Fedora 22, then selecting to Edit (nothing edited, only visual observation) within Grub, in sequential order (from top to bottom listed in order), the following is listed:

linux /boot/vmlinuz - 0 - rescue
linux /boot/vmlinuz - 4.0.5-300,fc22.x86_64
linux /boot/vmlinuz - 4.1.2-200.fc22.x86_64
linux /boot/vmlinuz - 4.1.4-200.fc22.x86_64
hodevah gravatar imagehodevah ( 2015-08-14 12:25:08 -0600 )edit

Sorry, need to double post. Am only allowed a certain max. # of characters in comments. I would just like to clarify a couple of things. (1): that when booting into kernel 4.1.4 or 4.1.2 and entering

uname -r

it will output the respective and correct kernel version when booted into that version. (2): I think that there was some confusion earlier. In your earlier post, you gave the impression that the system controlling GRUB, controls the update for kernels. It does not. Fedora updates, installs, and maintains it's own respectively installed kernels. Unless I misunderstood your wording

hodevah gravatar imagehodevah ( 2015-08-14 12:38:09 -0600 )edit

Yes, you misunderstood me. Fedora, of course, controls updating the kernel for Fedora, but not updating Grub. You have to boot into that other distro to update Grub, and once that's done, it shows the correct kernels. I don't know why it doesn't show which kernel is which on the menu, because I've never heard of a distro that didn't.

sideburns gravatar imagesideburns ( 2015-08-14 13:06:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-08-13 12:50:39 -0600

Seen: 4,276 times

Last updated: Aug 13 '15