Solved

Boot Problem

Posted on 2002-03-06
10
232 Views
Last Modified: 2013-12-15
I have a RED-HAT Linux box which has gone wrong and I cannot boot it.

The error message I get is...

kernal panic: No init found. Try passing init=option to kernal.

Any suggestions as to what I can do. Am quite new to Linux.
0
Comment
Question by:RICHARDH
10 Comments
 
LVL 4

Expert Comment

by:MFCRich
Comment Utility
Do you have a boot floppy? If not, do you have the installation CD? Try booting from either of these. If you boot off the CD enter 'rescue' at the boot prompt.

If you get the machine booted, look for the files /sbin/init and /etc/inittab. Or try 'rpm -V SysVinit'.

Tell us how it goes

0
 

Author Comment

by:RICHARDH
Comment Utility
Is it possible to make a boot boot floppy.

If so how can I do this.

Thanks for the help.
0
 

Author Comment

by:RICHARDH
Comment Utility
I have managed to boot from CD-ROM but it is reporting that it cannot find any Linux partitions. ie the C-Drive is not showing.
What can I doi at this stage,

Thanks for the help
0
 
LVL 15

Accepted Solution

by:
samri earned 50 total points
Comment Utility
You can try to switch to one of the Text-Console by pressing Ctrl-Alt-F1 (to F4) - not sure which one.  And try executing;

fdisk /dev/hda <--- if you are using IDE and it;s connected as Master on Primary Controller.   (/dev/sda for SCSI).

If it failed, recheck you Hardware.  Sometime the cable might loose, or the HD is dead :(.

Should you managed to get to "fdisk", try to list the partition table.

Btw; since the last time your Linux is running OK, did you change any hardware configuration.  My guess is, you might be swapping HD, or your MBR might have been corrupted.

Try the hardware checking first, and check whether your Linux partition still exist or not.  Once we finalized what is wrong, we can proceed.  If nothing is wrong with the HD, and the Linux partition is still around, next, we could try to help you in getting your RH Up and Runnin'.
0
 

Author Comment

by:RICHARDH
Comment Utility
Sorry to be a pain but I am very new to this Linux thing.
I have booted from CD-ROM, but then no matter what option I select the system appears to run someithing called Anaconda, and then after a few messages I get the error that no Linux partition can be found.

With regards to your idea of using fdisk /dev/hda

I cannot find a point where I can type this in. I get no response if I type it at the boot: prompt.

Thanks again for your help.

0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Expert Comment

by:ran_zahor
Comment Utility
I would try another kit, from did you got the kit ?
Did you made it from iso files ?

You can download the iso files from www.linuxiso.org and reburn to create new Installation kit - It's the pain to the gain.


Ran.
0
 

Expert Comment

by:ran_zahor
Comment Utility
Also a good reading is never a shame: www.linuxdocs.org

with respect,
Ran
0
 
LVL 4

Expert Comment

by:rickson
Comment Utility
by the way,  ur linux box HD is really Linux partition????
ususally if u got windows, u can install Partition magic and check it whether it's lInux partition or not.
somemore usually the error like this appear is because ui change the hardware setting.
For example: U change HD1 plug to HD 2 or viceversa.

try to change it back to previous config.

If u forget??? then the easiest way is reinstall or
edit the init config file like I use to do it before in my redhat 6.0.

0
 

Expert Comment

by:guzu
Comment Utility
what redhat distribution is there? there's also an crash recovery cd somewhere (search on linuxlinks...)
0
 

Author Comment

by:RICHARDH
Comment Utility
Having a tidy up. Thanks for the help on this one.
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

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:

771 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

11 Experts available now in Live!

Get 1:1 Help Now