Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How can i repair Kernel panic?

Posted on 2000-04-22
7
463 Views
Last Modified: 2010-04-20
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
Comment
Question by:lab
7 Comments
 

Expert Comment

by:smile040800
ID: 2740973
Hi,
Have u tried making a bootdisk and trying to boot into redhat.
0
 

Author Comment

by:lab
ID: 2741045
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
 
LVL 1

Expert Comment

by:Ted22
ID: 2741822
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:lab
ID: 2742103
yes, that is the boot disk that i created when i installed.
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 50 total points
ID: 2746059
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
 

Author Comment

by:lab
ID: 2748838
what should I do after that?
0
 

Expert Comment

by:Unreal7000
ID: 7848946
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question