LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-23-2005, 03:57 AM   #1
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Rep: Reputation: 30
optimized kernel


I wanted to use the enhaced Centos 4 krenel I was reading the readme.txt at Readme.txt . I found the config files at Kernel config. I couldn't locate any docs on hoe-to do it so can i run this method up the flagpole and if you know where it is wrong could you please help.

copy config file to /usr/src
then cd /usr/src
make meuconfig

choose to load an alternative config file and then

make && maje modules install

wait for this to complete and reboot.

Bonus question is there any way to keep the default kernel in available but boot the new kernel by default?

Last edited by flebber; 10-23-2005 at 05:27 PM.
 
Old 10-23-2005, 09:05 PM   #2
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Re: optimized kernel

Quote:
Originally posted by flebber
I wanted to use the enhaced Centos 4 krenel I was reading the readme.txt at Readme.txt . I found the config files at Kernel config. I couldn't locate any docs on hoe-to do it so can i run this method up the flagpole and if you know where it is wrong could you please help.

copy config file to /usr/src
then cd /usr/src
make meuconfig

choose to load an alternative config file and then

make && maje modules install

wait for this to complete and reboot.

Bonus question is there any way to keep the default kernel in available but boot the new kernel by default?
I can really only answer part of your question, because I don't use CentOS (RH?). The kernel does not reside (run) in /usr/src, only the source code. Running make && make modules_install will only compile the kernel, but will not install it, unless CentOS does some magic and teleports the kernel image to /boot You will have to manually copy the kernel image to the /boot partition and adjust your /boot/grub/grub.conf. At least that is how it is done in my distro, but as I said, I am not familiar with CentOS.

It is entirely possible to have several kernels installed and choose from one - I am doing that as we speak. Again, my caveat - don't know didley about CentOS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS install probelm - kernel panic cmarnell Linux - Newbie 9 04-25-2006 11:08 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
Kernel optimized for space RFLAGG Linux - Software 2 08-26-2004 02:53 AM
Optimized kernel config file for p4b533 micheleq Linux - Software 0 10-30-2003 03:29 AM
compile optimized kernel kvikki Slackware 0 10-12-2003 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:18 PM.

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