[Solved]How can I delete the newest Kernel

Issues related to applications and software problems
Hanisch
Posts: 43
Joined: 2015/08/10 13:26:03

[Solved]How can I delete the newest Kernel

Post by Hanisch » 2018/05/21 08:44:50

Hello,

after Update I can't boot with the newest Kernel 3.10.0-862.2.3.e17.x86_64
Kernel Panic.
CentOS-Kernel-Panic.png
CentOS-Kernel-Panic.png (32.74 KiB) Viewed 338 times
How can I delete these last Kernel?

Only with Kernel

Code: Select all

$ uname -r
3.10.0-693.21.1.el7.x86_64
the CentOS 7 is booting.

with regards
Ch. Hanisch
Last edited by Hanisch on 2018/05/21 10:54:43, edited 1 time in total.

User avatar
jlehtone
Posts: 1959
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How can I delete the newest Kernel

Post by jlehtone » 2018/05/21 09:00:29

Code: Select all

yum remove kernel-3.10.0-862.2.3.el7.x86_64

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

Re: How can I delete the newest Kernel

Post by TrevorH » 2018/05/21 09:20:06

That's a known crash with no known cause or solution (since no-one knows what causes it). The solution is easy though, yum reinstall kernel-3.10.0-862.2.3.el7.x86_64 as the problem is that either the initramfs file for it is missing from /boot or from grub.cfg. Reinstalling it will fix it.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Hanisch
Posts: 43
Joined: 2015/08/10 13:26:03

Re: How can I delete the newest Kernel

Post by Hanisch » 2018/05/21 10:53:51

TrevorH wrote:That's a known crash with no known cause or solution (since no-one knows what causes it). The solution is easy though, yum reinstall kernel-3.10.0-862.2.3.el7.x86_64 as the problem is that either the initramfs file for it is missing from /boot or from grub.cfg. Reinstalling it will fix it.
After

Code: Select all

$ sudo  yum reinstall kernel-3.10.0-862.2.3.el7.x86_64
the system was booting.
But without GuestAdditions.
The Installation of GuestAdditions from /usr/share/virtualbox/VBoxGuestAdditions.iso was in error.

Therefore I have deleted the newest Kernel with:

Code: Select all

sudo yum remove kernel-3.10.0-862.2.3.el7.x86_64
and now I have the actual Kernel:

Code: Select all

$ uname -r
3.10.0-693.21.1.el7.x86_64
with regards
Ch. Hanisch

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

Re: [Solved]How can I delete the newest Kernel

Post by TrevorH » 2018/05/21 11:03:56

The Installation of GuestAdditions from /usr/share/virtualbox/VBoxGuestAdditions.iso was in error.
For that you probably need to update your virtualbox.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Hanisch
Posts: 43
Joined: 2015/08/10 13:26:03

Re: [Solved]How can I delete the newest Kernel

Post by Hanisch » 2018/05/21 11:24:54

TrevorH wrote:
The Installation of GuestAdditions from /usr/share/virtualbox/VBoxGuestAdditions.iso was in error.
For that you probably need to update your virtualbox.
The VirtualBox in the Host is Version 5.2.10 and associated GuestAdditions in /usr/share/virtualbox/VBoxGuestAdditions.iso in the Host.

with regards
Ch. Hanisch

owl102
Posts: 308
Joined: 2014/06/10 19:13:41

Re: [Solved]How can I delete the newest Kernel

Post by owl102 » 2018/05/21 11:30:21

Hanisch wrote:The VirtualBox in the Host is Version 5.2.10
For CentOS 7.5 guests you need version 5.2.12. See also: https://www.virtualbox.org/wiki/Changelog#12

Hanisch
Posts: 43
Joined: 2015/08/10 13:26:03

Re: [Solved]How can I delete the newest Kernel

Post by Hanisch » 2018/05/21 12:28:55

owl102 wrote:
Hanisch wrote:The VirtualBox in the Host is Version 5.2.10
For CentOS 7.5 guests you need version 5.2.12. See also: https://www.virtualbox.org/wiki/Changelog#12
Under VirtualBox 5.2.12 and GuestAdditions in /opt/VBoxGuestAdditions-5.2.12/..
with the Kernel kernel-3.10.0-862.2.3.el7.x86_64 the system has no GuestAdditions working.

The Kernel kernel-3.10.0-862.2.3.el7.x86_64 is definitiv buggy regarding VirtualBox GuestAdditions.

I must this Kernel remove again.

But with next Update this Kernel will be installed again. How can I disable that?

with regard
Ch. Hanisch

jimj
Posts: 72
Joined: 2014/10/01 05:34:57

Re: How can I delete the newest Kernel

Post by jimj » 2018/05/25 00:19:50

TrevorH wrote:That's a known crash with no known cause or solution (since no-one knows what causes it). The solution is easy though, yum reinstall kernel-3.10.0-862.2.3.el7.x86_64 as the problem is that either the initramfs file for it is missing from /boot or from grub.cfg. Reinstalling it will fix it.
I haven't had a problem since upgrading to CentOS 7.5. kernel-3.10.0-862.2.3.el7.x86_64 was working fine for me. Today I tried to reboot my desktop into kernel-3.10.0-862.3.2.el7.x86_64 and it crashed right away. Trevor's solution worked for me, I just had to run yum reinstall kernel-3.10.0-862.3.2.el7.x86_64 Thanks for sharing this solution.

Hanisch
Posts: 43
Joined: 2015/08/10 13:26:03

Re: How can I delete the newest Kernel

Post by Hanisch » 2018/05/25 16:02:08

jimj wrote:Today I tried to reboot my desktop into kernel-3.10.0-862.3.2.el7.x86_64 and it crashed right away. Trevor's solution worked for me, I just had to run yum reinstall kernel-3.10.0-862.3.2.el7.x86_64 Thanks for sharing this solution.
The problem is in VirtualBox. With this Kernel there are no GuestAdditions active.

My question: How can I disable the update-installation for the Kernel kernel-3.10.0-862.3.2.el7.x86_64

with regards
Ch. Hanisch

Post Reply