Remove kernel in CentOS

Datetime:2016-08-22 23:42:13         Topic: Centos          Share        Original >>
Here to See The Original Article!!!

After unsuccessful upgrade of kernel you have to fix linux OS.

To delete invalid kernel in case of CentOS do next steps.

1. Show kernel list:

rpm -q kernel

And you’ll see output:

kernel-3.10.0-229.14.1.el7.x86_64
  kernel-3.10.0-229.20.1.el7.x86_64
  kernel-3.10.0-327.3.1.el7.x86_64
  kernel-3.10.0-327.4.4.el7.x86_64
  kernel-3.10.0-327.22.2.el7.x86_64

2. Delete corrupted kernel:

rpm -e kernel-3.10.0-327.22.2.el7.x86_64

3. Reboot.

So, you system downgraded!

Thanx to http://blog.zwiegnet.com/linux-server/delete-oldcorrupt-linux-kernel-centos/






About List