Solved

How can i repair Kernel panic?

Posted on 2000-04-22
7
457 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
Comment Utility
Hi,
Have u tried making a bootdisk and trying to boot into redhat.
0
 

Author Comment

by:lab
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

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

Accepted Solution

by:
jyu_88 earned 50 total points
Comment Utility
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
Comment Utility
what should I do after that?
0
 

Expert Comment

by:Unreal7000
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

762 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

12 Experts available now in Live!

Get 1:1 Help Now