LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 12-29-2004, 02:38 PM   #1
borgware
LQ Newbie
 
Registered: Jan 2004
Location: Arizona
Distribution: Ubuntu 7.04
Posts: 24

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
ftp://mirror.linux.duke.edu/pub/fedo...81_FC3.src.rpm
NOTE!! Use this kernel source only if your kernel package is updated via up2date
then

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

2. Navigate to SPECS directory

cd /usr/src/redhat/SPECS

type
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

type
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.
save/exit

4. Building kernel

type
make
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!
 
  


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 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


All times are GMT -5. The time now is 11:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration