Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

How can i repair Kernel panic?

I run Linux Redhat 6.0. It showed messages

"Warning: Unable to open an inital console
Kernel panic: No init found. Try passing init: option to kernel."

what should I do?

thanks.
0
lab
Asked:
lab
1 Solution
 
smile040800Commented:
Hi,
Have u tried making a bootdisk and trying to boot into redhat.
0
 
labAuthor Commented:
Sorry, I forgot to tell you that I created boot disk and ran it.  I typed "rescue", I still show the same messages. (I just started to use Linux)
0
 
Ted22Commented:
That's not the kind of boot disk you use to boot linux on the hard drive. When you install it asks you if you want to make a boot disk. That disk is to boot the partition on your hard drive. Using the disk your talking about it can be done, but if your a newbe reinstall is what I suggest. If you reinstall, make a bootdisk when it asks you.
0
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
labAuthor Commented:
yes, that is the boot disk that i created when i installed.
0
 
jyu_88Commented:
the error itself sounds like you just need to specify run level at boot to the kernel. Assume you are using LILO, at LILO prompt, type:
linux single[enter]
to get into single user mode.
If things were worse, you can say:
linux init=/bin/sh[enter]
to avoid most part of init process and just try to get a shell on the console
0
 
labAuthor Commented:
what should I do after that?
0
 
Unreal7000Commented:
I use GRUB so i would open grub.conf it may be lilo.conf if you use LILO. And where it says

linux int=/boot/something.img
change to
linux init=/sbin/init
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now