LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Kernel rebuild (http://www.linuxquestions.org/questions/linux-server-73/kernel-rebuild-612471/)

guillermo 01-09-2008 08:52 PM

Kernel rebuild
 
Hello!.

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)

Quote:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
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!

guille

Thom Fitzpatrick 01-10-2008 11: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 07:33 PM.