Solved

How can i repair Kernel panic?

Posted on 2000-04-22
7
459 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
Backup Your Microsoft Windows Server®

Backup 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.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now