RE: Kernel Panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK
Tried the change in grub.conf to ro root=/dev/hda1
And the boot  got a little further it stopped with complaints about
missing init.
Stuart mentioned making the same changes in fstab by which I read that I
did not have to do it because I had made the grub.conf change.

I think hda1 is correct how do I verify it is?
Given the previous kernel always boots OK have I reached the point where
I should remove the latest kernel and up2date it again.
If so could someone walk me through removing the kernal please.
No rush I'm going to get some sleep, partly because some of this I
should know but can't recall, so I won't be trying any more until Friday
night at the earliest.
Regards Roger


Roger,

Have you built an initrd to go with this kernel? Do I remember correctly that this is one you built from source code? The complaints about "missing init" means that the initrd is missing from the /boot directory. There should be a file called "initrd-2.4.20-28.9.img" for "vmlinuz-2.4.20-28.9". The version numbers must match each other and they are built when you build the kernel from source code. Both of them should be copied into the /boot directory when you run "make bzImage" (if I remember correctly) during your kernel building. There is a HOWTO on the 1st Red Hat CD that describes building a custom kernel.

Is there a specific reason you are building a custom kernel instead of using rpm to install a pre-built kernel?


Tom

Thomas S. Fortner
Burleson, Texas
thomas.fortner@xxxxxxxxxxxxx
"but we preach Christ crucified..."  1 Corinthians 1:23


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux