[SOLVED] Delete old linux kernel

General support questions
User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [SOLVED] Delete old linux kernel

Post by TrevorH » 2017/01/03 16:54:56

That's not the way to do it.

To remove a kernel that you do not want, first you need to make sure you are not running it as yum will refuse to remove the running kernel. So reboot and select a different kernel from the grub menu and then use yum remove kernel-3.10.0-514.2.2.el7.x86_64

Done.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jsamaniegog
Posts: 3
Joined: 2015/10/16 09:58:26

Re: [SOLVED] Delete old linux kernel

Post by jsamaniegog » 2017/01/24 07:35:59

TrevorH wrote:That's not the way to do it.

To remove a kernel that you do not want, first you need to make sure you are not running it as yum will refuse to remove the running kernel. So reboot and select a different kernel from the grub menu and then use yum remove kernel-3.10.0-514.2.2.el7.x86_64

Done.
Thank you. I've had to remove this kernel version because crash for me.

Code: Select all

yum remove kernel-3.10.0-514.6.1.el7.x86_64

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [SOLVED] Delete old linux kernel

Post by TrevorH » 2017/01/24 13:59:34

You should find out why it does not work and fix it. That kernel contains an important security fix.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply