Kernel panic
Hey, I just compiled and installed kernel 2.6.16-2 and when i went to reboot and start it up lilo just goes blank and nothing happens. Thats fair enough, i assumed i must have messed up something silly in my .config file so i decided i'd just reboot in my old 2.4 kernel and sort it out. I rebooted and when i selected my 2.4 kernel i got this
Code:
VFS: Cannot open root device "301" or unknown block (3,1) Quote:
Quote:
Thank you, NNP |
What type is your hdd? Is it SATA one?
|
nope its an IDE drive
|
Did you compile in (*) support for your root filesystem? This is normally the cause of this error.
|
yes i did but why would that matter anyway?
The original kernel is the one thats giving that error message. The new one is just dying without saying a thing. I wouldnt have thought installing the new kernel would have effected the old. |
Did you try to pass the correct boot option like root=/dev/hda1? Are you sure that vmlinuz link points to the correct kernel?
|
Yea, i tried passing root=/dev/hda1
I didnt check that vmlinuz points to the right place. I'll do that when i get home. I didnt think make or make install would change that though. |
make install could change, but i'm not sure about this.
|
To be certain:
Did you run lilo after compiling the enw kernel? |
Ok, check this out:
Quote:
Quote:
Peace... |
yes, i can boot windows. Its XP.
As for the bootable flag, i didnt see that but now that i think about it that wasnt set before either and it didnt cause a problem. In regard to the question about vmlinuz. Here is an ls -lF of my /boot as seen from knoppix Quote:
micder: cant remember if i ran lilo after compiling the new kernel but i've done it several times since. |
The only thing I can think of is some kind of partition hiding trickery going on, but I doubt that can be it. You got me. :)
Peace... |
well i set the image= back to vmlinuz-ide-2.4.31 and i can now boot my 2.4 kernel again. It appears the new vmlinuz must be the 2.6 kernel. Odd.
Anywho, i now have to figure out why the hell the 2.6 kernel wont boot. Fun. |
I'm around 99% sure that this was caused by make install, which you did. It removed ide-2.4 line and added vmlinuz line after copying bzImage into /boot/vmlinuz. Then you added your 2.6 kernel normal way.
|
Any suggestions on what could be wrong with the 2.6 kernel?
Is there anything i should watch out for when upgrading from 2.4 to 2.6 on slackware? |
All times are GMT -5. The time now is 10:40 AM. |