DIGIT-ARC read-only archive · snapshot: July 23, 2026

compiling the kernel in fc5

17 posts · originally from https://geek.digit.in/community/threads/compiling-the-kernel-in-fc5.45304/

romeo_8693
romeo_8693 Original post #1
Jan 1, 2007 at 3:50 PM
well the pic is al selfexplainatory....pls help!
subratabera
Jan 1, 2007 at 4:13 PM
Try...

"su -" including that dash

instead of...

"su" without dash
romeo_8693
Jan 1, 2007 at 4:19 PM
d problem is with "menuconfig"!any ways wat wud the above thing change?
subratabera
Jan 1, 2007 at 4:21 PM
That will give you full root environment...
M
Jan 1, 2007 at 4:42 PM
You should be in /usr/src/linux directory.
And also you can use xconfig
Code:
make xconfig
It will give you a GUI environment.
romeo_8693
Jan 2, 2007 at 3:28 PM
hey techie the first thing u told me doesnt work.strange it might seem,i dnt have the above /src/linux directory...ill try the 2nd one though!!
p.s. do i have to update my installation?its a bare-bone fc5!!!
M
Jan 2, 2007 at 7:07 PM
Give me the output of
Code:
ls /usr/src
__________
Did you download kernel sources or a vanilla kernel to compile?
eddie
eddie #9
Jan 3, 2007 at 1:41 AM
You don't have Linux sources installed. None of the RPM distros install them by-default (afaik?).
M
mehulved #10
Jan 3, 2007 at 1:47 AM
None of the binary distros do AFAIK. Ubuntu, FC, Mandriva and Suse doesn't as long as I remember.
romeo_8693
Jan 6, 2007 at 4:27 PM
so wat do i do to make a custom kernel?
M
mehulved #12
Jan 6, 2007 at 7:18 PM
install linux-sources or kernel-sources whatever it is called from your package manager, for the version of the kernel you are using.
Or otherwise if you want a totally new kernel. Get a fresh one from www.kernel.org
What exactly do you want to compile a kernel for?
praka123
praka123 #13
Jan 7, 2007 at 6:03 AM
Though wrote for fedora 4,this hw2 is as good as for fc6 may also.
*www.mjmwired.net/resources/mjm-kernel-fc4.html
*www.freeme.in/node/16
subratabera
Jan 7, 2007 at 12:08 PM
You may also try these links...

How To Compile A Kernel - The Fedora Way

Various Fedora resources
romeo_8693
Jan 8, 2007 at 2:38 PM
well i did get 5cd's for fc5!dnt they have sources?if yes then re-installing will solve the prob?
eddie
eddie #16
Jan 9, 2007 at 12:38 AM
Reinstalling will not solve the problem as none of the binary distros install Kernel sources by default. If you have all the 5 CDs then 4th and 5th CDs most probably will be having the sources. Look for linux-kernel-xxxxx.src.rpm on one of the two CDs. Here xxxxx means version number of the kernel that came with your distro. Locate the file and then double click it...your distros package manager will take over and install the sources for you.
romeo_8693
Jan 9, 2007 at 3:16 PM
thnx guys....ill try that eddie!