LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2003, 06:14 AM   #1
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Rep: Reputation: 30
help kernel problem!!!


hey, right this is weird i installed red hat linux the otherday and updated the kernel with the udate agent it was fine able to boot straight away, but i did a fresh install of RH9 today and updated it and i get the error loading the kernel 2.4.20-19.9 there error i get is:

Kernel panic: No init found. Try passing init= option to kernel

dont understand the problem at all i can still boot into the orignal kernel.
 
Old 07-29-2003, 06:30 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Try re-updating, maybe something got messed up since that appears to be the only difference (different times).

Cool
 
Old 07-29-2003, 06:31 AM   #3
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
ive ran the update client againa and it says no further updates, or do u mean download a kernel and compile then install it?
 
Old 07-29-2003, 06:37 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well you could do that too, though be prepared for a long hard night

Nah, instead I'd suggest removing the kernel that got updated (not the working one!) and then try updating again.

Cool
 
Old 07-29-2003, 06:44 AM   #5
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
ahh cool, how do i remove it? am a newbie.
 
Old 07-29-2003, 06:47 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
First you'll need to know the package name that got installed, so as root in a terminal type:
rpm -qa | grep kernel
And you'll likely see quite a few packages. Try to find the one(s) that match the upgraded kernel, then type (make sure you are picking the correct kernel, not the working one):
rpm -e packagename
Where packagename is the package you find from the command above.

Cool
 
Old 07-29-2003, 06:48 AM   #7
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
:S how am i ament to find out the package name when it was automaticly installed?
 
Old 07-29-2003, 06:55 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That's really beyond me, however I'm assuming (bad idea sometimes ) that RedHat uses RPM's to upgrade. If that's so, then the command:
rpm -qa | grep kernel
Should list the package name that got upgraded. You just have to compare it to the kernel that doesn't work to make sure it's that one and not the working one.

Cool
 
Old 07-29-2003, 06:57 AM   #9
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
got them cheers:

kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-19.9
kernel-ntfs-2.4.20-19.9
kernel-source-2.4.20-19.9
kernel-2.4.20-8


ill get started on removeing kernel-2.4.20-19.9
 
Old 07-29-2003, 07:00 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ooh, yeah, don't remove anything else though At least not the pcmcia bit...

Cool
 
Old 07-29-2003, 07:57 AM   #11
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
devboy

if you haven't already "rpm -e"-ed the kernel upgrade ...

It seems your your 2.4.20-19.9 kernel is unable to find the root device.

Have a look into your lilo.conf or grub.conf.
 
Old 07-29-2003, 08:05 AM   #12
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
all done thanks and its fixed fine very happy now, just 1 more thing to remove the old kernel to i just type:

rpm -e kernel-2.4.20-8

??
 
Old 07-29-2003, 08:20 AM   #13
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
can do rpm -e --test kernel-2.4.20-8 to be rest assured.

You *may* also have the old kernel-doc and kernel-source.
 
Old 08-07-2003, 06:06 PM   #14
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Hey guys, I'm sorta new to Linux, i've been using red hat for years, but on and off, never really was good at it

I have this exact same problem, i tried rpm -e kernelblahblah and reinstalling it but I still get the error.

Quote:
Have a look into your lilo.conf or grub.conf.
What exactly would i look for to change and what to change it to?

Any help is appreciated.
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 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