Click to See Complete Forum and Search --> : Upgrading Kernel


benny666
05-16-2004, 04:23 PM
Hello,

I have a redhat 7.0 box with kernel 2.2.16 which I tried to upgrade to 2.4.
Mistakingly I didn't read the library notes and I did an upgrade via
rpm -Uvh for all the kernel packages I found in redhat update.

Now the system will not boot at all I see on boot
linux.......
that is it.

I can boot into rescue mod so I tried to bern a cd with a newer version of the kernel 2.6 from kernel.org then try to compile it like the library said but
I can't unmout the redhat cd rom in order to put the kernel cd (message device is busy)

now I found a way to boot the old kernel via
lilo
linux single root=/dev/hdxx initrd=

but I don't know what is the problem?
was the kernel updated?
should I go for the 2.6??

mdwatts
05-16-2004, 04:32 PM
Moved to the Kernels and Modules forum since Installation is meant for distro install issues.


Linux Install Help: Need help installing your Linux OS?

talha999
05-16-2004, 04:33 PM
why not try upgrade from Redhat 8 or Redhat 9 installaion CD

i mean select upgrade during installation it will be lot easy

Regards

mdwatts
05-17-2004, 12:44 PM
Originally posted by benny666

was the kernel updated?

should I go for the 2.6??

Can you see the 2.4 kernel image and System.map in /boot? Modules in /lib/modules/2.4.## ?

Since you can still boot the previous kernel, do you have entries for both kernels in your bootloader config?

Upgrading to the 2.6 kernel on a distro built with the 2.2 kernel series will involve upgrading loads of other packages besides compiling and installing the 2.6 kernel.

Ludootje
05-24-2004, 02:25 PM
You probably need to update the 'modutils' package (at least for 2.4->2.6 you have to, I suppose 2.2->2.4 too).
Could you give the lilo configuration file?
Also, maybe you could try to compile a kernel (in single mode), instead of using an RPM, that way you're more sure that it'll fit your box.

edit: and what RPM packages exactly did you install? Where'd you get them from?