Quote:
you should have made the new initrd.gz image, because the one you got cointains modules built for the old kernel, so the new one cannot load them.
try booting with a boot disk, chroot in your root partition, create the initrd for the new kernel and run "lilo".
I think the message you got is because you probably forgot to run lilo again after updating the kernel: the new one is located differently on the disk and lilo cannot find it, looking for the position of the old one that's not around anymore.
The positions of the kernels it has to look for are updated each time you run the "lilo" command, accordingly on what's in /etc/lilo.conf.
|
Thanks for help. I didn't write my question very well. I should have said that I ran lilo before rebooting and kept getting errors. I ran sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -i to build my initrd, but got this:
Code:
ash-4.1# sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -i
Modules for kernel 2.6.37.6 aren't installed.
I did a clean install and upgraded to current (only took 20 mins!), but still get the mkinitrd_command_generator_looking.sh looking for 2.6.37.6 modules, and not seeing the 3.2.2 modules that are definitely there.
I'm going try and understand how the script works to see if I can do anything with it, but the basic problem is that it obviously can't accurately read the contents of /lib/modules.
I'm also going to look at writing a mkinitrd command manually to force it to use the right modules.