LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-09-2008, 07:52 PM   #1
guillermo
LQ Newbie
 
Registered: Aug 2007
Location: Argentina
Posts: 25

Rep: Reputation: 15
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
 
Old 01-10-2008, 10:02 AM   #2
Thom Fitzpatrick
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel rebuild? Whynot Linux - Kernel 2 03-02-2007 07:19 AM
How should I rebuild the Kernel waterox SUSE / openSUSE 5 10-02-2006 03:45 PM
Kernel Rebuild Nikosis Linux - Newbie 4 05-01-2006 12:40 AM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 12:15 PM
kernel rebuild Present Yoper 9 11-26-2004 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration