PDA

View Full Version : compiling the kernel in fc5


romeo_8693
01-01-2007, 03:50 PM
well the pic is al selfexplainatory....pls help!

subratabera
01-01-2007, 04:13 PM
Try...

"su -" including that dash

instead of...

"su" without dash

romeo_8693
01-01-2007, 04:19 PM
d problem is with "menuconfig"!any ways wat wud the above thing change?

subratabera
01-01-2007, 04:21 PM
That will give you full root environment...

romeo_8693
01-01-2007, 04:30 PM
ok.ill c.

mehulved
01-01-2007, 04:42 PM
You should be in /usr/src/linux directory.
And also you can use xconfig
make xconfig
It will give you a GUI environment.

romeo_8693
02-01-2007, 03: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!!!

mehulved
02-01-2007, 07:07 PM
Give me the output of
ls /usr/src
__________
Did you download kernel sources or a vanilla kernel to compile?

eddie
03-01-2007, 01:41 AM
You don't have Linux sources installed. None of the RPM distros install them by-default (afaik?).

mehulved
03-01-2007, 01:47 AM
None of the binary distros do AFAIK. Ubuntu, FC, Mandriva and Suse doesn't as long as I remember.

romeo_8693
06-01-2007, 04:27 PM
so wat do i do to make a custom kernel?

mehulved
06-01-2007, 07: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
07-01-2007, 06:03 AM
Though wrote for fedora 4,this hw2 is as good as for fc6 may also.
http://www.mjmwired.net/resources/mjm-kernel-fc4.html
http://www.freeme.in/node/16

subratabera
07-01-2007, 12:08 PM
You may also try these links...

How To Compile A Kernel - The Fedora Way (http://www.howtoforge.com/kernel_compilation_fedora)

Various Fedora resources (http://www.thinkdigit.com/forum/showpost.php?p=366982&postcount=47)

romeo_8693
08-01-2007, 02:38 PM
well i did get 5cd's for fc5!dnt they have sources?if yes then re-installing will solve the prob?

eddie
09-01-2007, 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
09-01-2007, 03:16 PM
thnx guys....ill try that eddie!