Ask Your Question

List of kernels

asked 2017-09-06 10:38:29 -0500

Hi all.
I'm running fedora 25 on an HP ZBook 15 G3. Since kernel 4.11, I can't seem to boot fedora anymore. I've had 2 kernel updates since then and none of them work. My only working version is with old kernel 4.9 which is now at the bottom of my grub launcher. I'm afraid that at the next kernel update, the possibility to use kernel 4.9 will disappear since, apparently, only the 3 latest kernels are kept. I'd like to keep trying new kernels as they become available to see if it solves the problem but I'm afraid that if I do, I'll lose all possibility to use my computer.
Any advice on how to setup fedora such as all former kernels are kept ?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-09-06 15:30:13 -0500

xgusch gravatar image

Perhaps you can remove non-working kernels as an alternative.

edit flag offensive delete link more


It is good. AFAIK, you can also tell dnf to not remove the working kernel in any case. I don't remember the exact config, but it is something like 'version lock'. But it might keep you from installing newer kernels (I'm not sure). If that is the case, your best option is probably removing non-working kernels manually.

But I also suggest trying to troubleshoot as @masteroman says.

hedayat gravatar imagehedayat ( 2017-09-15 08:12:05 -0500 )edit

answered 2017-09-06 11:17:36 -0500

masteroman gravatar image

Within your /etc/dnf/dnf.conf you will see option:


Change that number to number of kernels you'd like to keep.

As for system not booting with newer kernels. That's worth troubleshooting further. Please specify in which stage does boot process fail? Do you get any error or are you stuck at loading screen?

If latter, please press F2 to see verbose boot output and to see eventual error message that is shown during boot process.

edit flag offensive delete link more

Question Tools


Asked: 2017-09-06 10:38:29 -0500

Seen: 288 times

Last updated: Sep 06 '17