Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 470
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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