CentOS 7 Downgrade Kernel

Issues related to applications and software problems
Post Reply
darthtidus
Posts: 1
Joined: 2018/10/16 08:04:22

CentOS 7 Downgrade Kernel

Post by darthtidus » 2018/10/16 08:18:22

Hi there,

I've installed a CentOS 7.5 on my computer. After I update my packages includes kernel updates my system ran into issues.
My actual kernel is 3.10.0-862.14.4.el7.x86_64 on my zbox CI527NANO. Under this kernel my display solution doesn't work correctly.
The graphic card is an intel hd 620. I hadn't these problems under kernel 3.10.0-693.5.2.el7,x86_64.
So can anybody help me, how I can downgrade to the older kernel? I can't find this kernel under yum list kernel*

greetings

darthtidus

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: CentOS 7 Downgrade Kernel

Post by hunter86_bg » 2018/10/16 12:07:45

You can always check what kernels are vailable in your repo by running

Code: Select all

yum list kernel --show-duplicates
Once you pick a kernel , you can run yum install kernel-your_version and then a reboot is needed to load that kernel.
Then you can remove the problematic kernel and set an exclude in "/etc/yum.conf"

User avatar
TrevorH
Forum Moderator
Posts: 23884
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 Downgrade Kernel

Post by TrevorH » 2018/10/16 15:16:57

Use yum downgrade kernel-3.10.0-862.el7 to revert to the first 7.5 kernel and see if you still have the problem. If it's still broken then revert to the last 7.4 kernel using yum downgrade --enablerepo=C7.4.1708-update downgrade kernel-3.10.0-693.21.1.el7 (may also need --noplugins if you have configured repo priorities). You may also need to add other package names to the downgrade list if it refuses to downgrade because of dependencies.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply