When you compile your Linux kernel in your Fedora, most dependencies should not trouble you. So, what you need to do is just the follow steps:
- Download kernel source from either kernel.org or github; usually a
- Extract the kernel file to some directory (e.g. your home directory).
- Configure the kernel. This is the most important step I suppose. You can use your old
.config file which is in
/usr/src/linux using the
make oldconfig command, or you can configure it all by yourself using the
make menuconfig command. If you need some GUI tools, you need to install some extra packages, Both Qt based and GTK based GUI are available. In fact, the most important and often dangerous step is, how to get the right drivers and how to make sure you really need a kernel function or not.
make install. For most new kernel, we needn't run
make modules_install any more.
- Put the kernel image into the boot directory and edit the grub menulist.
- Reboot your system, your kernel will work!
For more information and more accurate steps as well as tips, Linux Kernel in a Nutshell by Greg Kroah-Hartman (O'Reilly) may help.