LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-04-2004, 01:35 AM   #1
bangy
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 10

Rep: Reputation: 0
Exclamation Kernel Panic!! Help please?


I did something really stupid tonight, messing with stuff I didn't really know. Curiosity really screwed me over this time.

I upgraded my original kernel that came with FC2, and now I am getting that

"Kernel panic: no init found", can someone please tell me how I can fix it?

The problem is I did a rpm -Uvh with an RPM I compiled and it has replaced the old (the one that WORKED) one. Now I'm stuck with only 1 non-functional kernel and I really don't want to wipe out the comp.
 
Old 09-04-2004, 01:40 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
wow!

Try getting into rescue mode ... either with the rescuecd that came with the FC2 distribution - OR using CD-1, follow the instructions and gt into rescue mode.

chroot /mnt/sysimage (this is where your salvaged linux lives)

check whether you can rpm -ivh the original kernel in. Then make changes to your grub.conf to get this kernel recognised if it isn't already.
 
Old 09-04-2004, 01:47 AM   #3
bangy
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
Wow, fast response! I figured out the /mnt/sysimage thru the "df" command

Anyways, I'm a little ahead of myself, but assuming I can get the original kernel to work, how can I fix this init error? I wanna try what this new kernel is all about
 
Old 09-04-2004, 01:54 AM   #4
bangy
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
and also... a little update.

I tried rpm -ivh, it complains about the current kernel(the one that's not working) being newer, so it will not let me install. Is there a way around this? I tried to rpm -e the old kernel, but it's got about 10 other packages that need it, so that's not an option, damn!
 
Old 09-04-2004, 02:22 AM   #5
bangy
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
--oldpackage

My computer's alive again lol, what an educational night.. But yeah, how would I fix that init error? I want to see if the other kernel is faster!
 
Old 09-04-2004, 05:28 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
What is the init error? Have you compiled in the drivers for ext3/reiserfs? Perhaps you need an initrd file too.
 
Old 09-04-2004, 04:01 PM   #7
bangy
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
Here's the error, the "......" are lines in between

-------------------------------------------------------------------------------

.Uncompressing Linux.... Ok, booting the kernel
.........
.......
mount: error 19 mounting ext3
......
Kernel panic: No init found. Try passing init= option to kernel

--------------------------------------------------------------------------------

Then it just sits there.


I was following the guide at www.linux-militia.net for installing their CK kernel. http://www.linux-militia.net/kernel/....1-ck6.tar.bz2

Do I need to compile the drivers for ext3/reiserfs too? I'm not quiet sure how to do that.




Update: Nevermind, I got everything running now, silly me =)

Last edited by bangy; 09-04-2004 at 08:16 PM.
 
Old 09-05-2004, 02:26 AM   #8
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
always better to compile the fs drivers into the kernel... although it is not necessary when you use initrd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration