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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-29-2003, 06:14 AM
|
#1
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Rep:
|
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.
|
|
|
07-29-2003, 06:30 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Try re-updating, maybe something got messed up since that appears to be the only difference (different times).
Cool
|
|
|
07-29-2003, 06:31 AM
|
#3
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
ive ran the update client againa and it says no further updates, or do u mean download a kernel and compile then install it?
|
|
|
07-29-2003, 06:37 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-29-2003, 06:44 AM
|
#5
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
ahh cool, how do i remove it? am a newbie.
|
|
|
07-29-2003, 06:47 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-29-2003, 06:48 AM
|
#7
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
:S how am i ament to find out the package name when it was automaticly installed?
|
|
|
07-29-2003, 06:55 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
 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
|
|
|
07-29-2003, 06:57 AM
|
#9
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
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
|
|
|
07-29-2003, 07:00 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Ooh, yeah, don't remove anything else though  At least not the pcmcia bit...
Cool
|
|
|
07-29-2003, 07:57 AM
|
#11
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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.
|
|
|
07-29-2003, 08:05 AM
|
#12
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
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
??
|
|
|
07-29-2003, 08:20 AM
|
#13
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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.
|
|
|
08-07-2003, 06:06 PM
|
#14
|
Member
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|