kernel panic - not syncing: Attempted to kill init!

Hi
I am facing kernel panic on Rhel 6.3
tried to fsck the disk - didn't help
tried to set selinux=0 on grub - didn't help either.

any other suggestions?
info-btechAsked:
Who is Participating?
 
info-btechAuthor Commented:
Haven't tried "emergency" but once upgraded Rhel with installation CD the issue got solved.
0
 
Duncan RoeSoftware DeveloperCommented:
Is this a new installation, or was it previously working?
0
 
info-btechAuthor Commented:
it was previously working. last time it happened the IT guy started the machine in single and started the services manually.
machine is running on VM, when running Redhat rescue mode it doesn't show the disk
but when started from systemrescue CD i could mount the drive
I found one post that recommends to do chroot /mnt/sysimage but I don't have it mounted on Redhat rescue mode since it doesn't show up the partition.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
joolsCommented:
Can you post the error on the screen? There will be some information there that will help debug.

Have you tried to use emergency boot option from grub?
0
 
info-btechAuthor Commented:
i am facing now that the machine hangs on enabling /etc/fstab swaps
0
 
joolsCommented:
can you post the messages you see on the screen?

does booting to emergency work?
0
 
info-btechAuthor Commented:
boot emergency = rescue mode?
0
 
joolsCommented:
no, rscue mode you need the cd/dvd
emergency is one of the options, it wont load anything and it'll give you a minimal startup, eg, root will be mounted read only.

Just append "emergency" to the boot option in grub the same way you would for single user mode
0
 
info-btechAuthor Commented:
fixed by my own, thanks guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.