Ask Your Question

Grub boots from kernels that I removed

asked 2017-10-29 08:25:53 -0500

lynob gravatar image

I'm running Fedora 26, rpm -qa kernel outputs kernel-4.13.5-200.fc26.x86_64. And that's the one I want.

enter image description here

I had 3 kernels showing in grub, that one, and 2 newer ones, Wifi wasn't working when booting from the other two so I excluded kernel updates from dnf, and I removed the newer kernels sudo dnf remove kernel-4.x.

All went smoothly, however when I restart, I still can see them in grub and I can boot from them and the wifi won't work if I pick them.

Here I am booting from the newest kernel that I removed.

enter image description here

What went wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-29 15:42:18 -0500

villykruse gravatar image

You also need to remove the corresponding kernel-core and kernel-modules.

The kernel package by itself contains no files, and when installing it, it will cause the other two packages to also be installed as dependencies.


rpm -qa 'kernel*'

to se what you have installed.

edit flag offensive delete link more

Question Tools


Asked: 2017-10-29 08:25:53 -0500

Seen: 70 times

Last updated: Apr 29 '18