Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-18-2006, 10:36 AM   #1
Registered: Mar 2006
Posts: 71

Rep: Reputation: 15
Compiling optimized kernel


I want to compile a custom kernel for AMD athlon.Could anyone point me to a easy to follow tutorial on how to do that?I'm using ubuntu 5.10,but I think that doesn't matter.

thanx in advance

Last edited by Deelk; 04-18-2006 at 10:37 AM.
Old 04-18-2006, 11:27 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
short version =

activate CONFIG_MK7 option for Athlon.
Old 04-18-2006, 11:41 AM   #3
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Here is a link that you could have found by search Google for "compiling uBuntu kernel."

Before you start compiling your kernel, make a list of all the modules that are running right after booting your machine (assuming everything is working correctly). You need to make sure that you compile them as modules when creating your new kernel.

When you get to the point that you do make menuconfig, you'll get a configuration menu. There will be some way (like pressing ?) of getting info for each choice available. There are many choices available relative to the CPU.

Don't be surprised if it doesn't work the first time. Just try again. Also, I like to edit my grub.conf (menu.lst) file before I reboot with the new kernel. That way if it doesn't work, I just reboot and select my previous kernel.
Old 04-18-2006, 11:45 AM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
Modules must be compatible with .. compiled with .. the kernel they are intended to support. This is likely to be an issue only with major system upgrades, in which it is important to not only preserve the prior kernel but also its entire set of module-files. (A LiveCD is used as scaffolding if you have to roll back to the prior kernel and modules.)


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
centos optimized kernel flebber Linux - General 1 10-23-2005 10:05 PM
Kernel optimized for space RFLAGG Linux - Software 2 08-26-2004 03:53 AM
Optimized kernel config file for p4b533 micheleq Linux - Software 0 10-30-2003 04:29 AM
compile optimized kernel kvikki Slackware 0 10-12-2003 06:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM > Forums > Linux Forums > Linux - Newbie

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

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