Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 12-29-2004, 02:38 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Arizona
Distribution: CentOS/RHEL
Posts: 25

Rep: Reputation: 15
Quick newbie guide to rebuild kernel in FC3

1. Install source rpms
From terminal type

up2date --get-source kernel

this command will download and install kernel sources
if doesn't work (in my case it didn't) get src.rpm manually from
NOTE!! Use this kernel source only if your kernel package is updated via up2date

rpm -ivh kernel-2.6.9-1.681_FC3.src.rpm

2. Navigate to SPECS directory

cd /usr/src/redhat/SPECS

rpmbuild -bp --target=i386 kernel2.6.spec
(you can change target to i686 if you like )

3. Navigate to BUILD directory

cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9

make xconfig
this will load default configuration into kernel editor and take your time to tweak its settings.
Be careful here and ask any questions if you're in doubt.

4. Building kernel

takes around 15 min. on Athlon 3200. When it's done

make modules_install
in the end

make install
reboot and select new kernel from grub (usually kernel-2.6.9-prep)

Good luck!


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
Newbie Guide To Compiling A Kernel! DrOzz Linux - General 318 08-20-2008 06:21 AM
Quick guide on tar bograt Linux - Newbie 11 01-27-2005 06:15 PM
Quick ACPI getting started guide zero79 Debian 3 12-25-2004 07:33 PM
mplayer a quick guide aus9 Slackware 1 02-18-2004 12:37 PM
Quick guide to WordStar?? stephstellar Linux - Software 3 02-19-2003 01:27 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:18 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
Open Source Consulting | Domain Registration