-   Linux - Server (
-   -   Kernel rebuild (

guillermo 01-09-2008 07:52 PM

Kernel rebuild

I rebuilded my centos 3 with 2.4.x kernel to install a 2.6.x on there.

I did it saving the .config file (config-2.4.21-27.0.2.EL) and then i have loaded it in the menuconfig of the 2.6.23. Afther that i rebuilded the kernel doing:

make all
make modules_install
make install

When they finish, the grub.conf looks ok (with the correct kernel)


title CentOS (2.6.23)
root (hd0,0)
kernel /vmlinuz-2.6.23 ro root=LABEL=/
initrd /initrd-2.6.23.img
Well i reboot the machine but kernel 2.4.x stills there.

What im doing wrong ??

Thanks in advance!


Thom Fitzpatrick 01-10-2008 10:02 AM

More than likely you need to interrupt the boot at the splash screen, and select the new kernel.

You could also delete the old kernel out of your grub.conf, but then you'd have no escape route if the new kernel didn't work :)

All times are GMT -5. The time now is 08:40 PM.