LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2004, 11:13 PM   #1
Trachonitis
LQ Newbie
 
Registered: Jan 2003
Location: Phoenix
Distribution: Red Hat 7.3
Posts: 5

Rep: Reputation: 0
Unhappy Kernel Panic: No init found.


This is probably an easy fix, but being a newbie I'm ready to format the drive and start all over again. The o/s is RH 7.3 Kernel 2.4.18-3 i686. RH used to boot up, but now I'm getting this error.

Kmod: failed to exe /sbin/modprobe -s -k ide -cd, errno=2
hda: driver not present
mount: error 6 mounting ext 3
pivot root: pivot_root (/sysroot, /sysroot /initrd) failed: 2
Freeing unused kernel memory: 280k freed
Kernel panic: No init found. Try to passing init= option to kernel

Obviously it's not detecting one of my hardware devices. I did change the CDROM to a DVD/CDROM. Could this be the problem? And if so how do I resolve it?
 
Old 05-18-2004, 10:51 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
The init can't be found, I would guess, because it's on hda, and
Quote:
hda: driver not present
mount: error 6 mounting ext 3
Which means that hda can't be mounted, which means if it's your root filesystem, it can't be read, and if you can't read the root filesystem, you can't boot.

I am somewhat suspicious of the fact that you're running RH 7.3 with kernel 2.4.anything (although your info says you're running RH8, I assume that if you specifically typed, "the o/s is RH 7.3", that the OS is in fact RH 7.3). This can't be natural (meaning that I don't think that RH 7.3 came with a 2.4 series kernel), which would mean that you installed this kernel yourself.

If so, did you compile in ext3 support? Into the kernel? This error implies that ext3 support either does not exist, or is compiled as a module (which there is a very big warning about doing in the kernel help-- support for your root filesystem must be directly compiled into your kernel).

If this is the case, the kernel has to be recompiled.... do you have another bootable kernel (the previous one) available, and does it boot successfully, or can you do a rescue boot from the first install CD? If so, boot into that and recompile the new kernel with direct ext3 support. If not, pretty much your only alternatives are:

1) Boot from a LiveCD distro such as Knoppix, Mepis, MandrakeMove, SLAX, PLD, or what-have-you, mount your RH partition, chroot into the RH root and recompile the kernel that way; or

2) reinstall and start over.

Hope this helps.

P.S. If the system won't boot, there is no "easy" fix. A non-booting OS is one of the more serious problems, since you can't fix the OS without booting it, and if booting it is itself the problem... it becomes rather circular, as you can imagine.

Last edited by motub; 05-18-2004 at 10:53 AM.
 
Old 05-18-2004, 12:51 PM   #3
tired
Member
 
Registered: Jan 2004
Location: Wales UK
Distribution: Suse 9.0, Slackware 10, FC3
Posts: 51

Rep: Reputation: 15
You say that you updated your cd to a dvd rom. Could it be that the system is looking at the dvd as hda? How are the jumpers set, is the dvd rom jumpered differently? Just something simple tp look at before getting a headache!
 
Old 05-18-2004, 10:08 PM   #4
Trachonitis
LQ Newbie
 
Registered: Jan 2003
Location: Phoenix
Distribution: Red Hat 7.3
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you both for your replies. This gives me some where to start. Motub, I think I'll contact my instructor who assisted in the install about some of the questions you asked. It's been over a year since I took the class so I can't remember specific details. Thank you both again.
 
Old 05-20-2004, 12:14 AM   #5
Trachonitis
LQ Newbie
 
Registered: Jan 2003
Location: Phoenix
Distribution: Red Hat 7.3
Posts: 5

Original Poster
Rep: Reputation: 0
Just in case you might want to know what the problem was I switched the second IDE cable from the CDROM drive to the hard drive and visa versa and it booted up. This solved the problem of the hard drive not booting up. I'm not sure why this created the initial problem without checking many other reasons, but that is it in a nut shell. I do have some other issues that I need help with and will post them seperately. Thanks again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic: No init found. Try passing init= option to kernel ridak Fedora 0 07-14-2004 07:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Mandriva 7 03-14-2004 02:37 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration