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. |
Try re-updating, maybe something got messed up since that appears to be the only difference (different times).
Cool |
ive ran the update client againa and it says no further updates, or do u mean download a kernel and compile then install it?
|
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 |
ahh cool, how do i remove it? am a newbie.
|
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 |
:S how am i ament to find out the package name when it was automaticly installed?
|
;) 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 |
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 |
Ooh, yeah, don't remove anything else though ;) At least not the pcmcia bit...
Cool |
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. |
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 ?? |
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. |
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:
Any help is appreciated. |
All times are GMT -5. The time now is 04:21 PM. |