Avatar of dimensionav
dimensionav
Flag for Mexico asked on

How to solve this CentOS 6.5 kernel panic?

Hi!

I have a physical Windows Server 2003 machine that works as the host of a Centos 6.5 virtual machine that runs in Virtualbox. My server got a virtual memory error and restarted without letting me turn off  my CentOS, now I'm getting the following Kernel panic (I suppose that is a virtual disk problem, see the attached image).

I tried to use the kernel startup argument selinux=0 but it didn't work.

Does anybody knows the possible solution?

Regards!
ServerError.PNG
VirtualizationLinuxWindows Server 2003

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Matt Minor

You probably have to edit /etc/selinux/config - a dirty shutdown causes the line
SELINUX=enforcing and SELINUXTYPE=permissive

where the default is
SELINUX=permissive and SELINUXTYPE=permissive
arnold

Along the same lines using boot the VM using centos ISO/livecd and perform the fsck check in the boot, / file systems after you make sure there is no issue in the host with its filesystem....
gheist

Your initrd is damaged
Boot with any previous kernel
yum remove current (broken, not one you booted) kernel
Upgrade kernel (or preferably whole system to 6.7)
Reboot with new kernel
Your help has saved me hundreds of hours of internet surfing.
fblack61