[CentOS] New kernel causes kernel panic/unable to mount root

Matt Dainty matt at bodgit-n-scarper.com
Sat May 7 10:11:50 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 6 May 2005, at 18:02, Martyn Drake wrote:

> Johnny Hughes wrote on 06 May 2005 17:00:
>
>> One thing to check is if you have kernel-unsupported installed in the
>> old kernel version.  If so, make sure to install the new version as
>> well.
>
> I decided to re-install the offending kernel RPMs and noticed this:
>
> grubby fatal error: unable to find a suitable template
>
> I'm wondering if it's doing mkinitrd at all.  Out of curiousity, I did 
> a
> manual mkinitrd and noticed that the resulting file was, like the 
> previous
> new kernel install, much smaller than the 0.2 kernel version.
>
> Still at a loss at the moment, but seeming to be making some kind of
> headway..

The older ...0.2 kernel must have the driver for your disk controller 
in there somewhere. If you're booted into that kernel, check dmesg for 
what controller gets probed.

Either the driver has been rebuilt into the kernel, (which means you're 
not running the original ...0.2 kernel), or it's a module, which 
running lsmod should confirm.

A good idea would be to post your dmesg and lsmod output with the older 
working kernel, along with the contents of /etc/mod{ules,probe}.conf.

Matt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCfJRuKP58eR+X2TMRAuAEAKCsI4/g67BsIoS1sE6u5eHGu1PVaACfWbHn
GAjnrz0cVyN5I8vb8yWKxEg=
=b1jV
-----END PGP SIGNATURE-----




More information about the CentOS mailing list