Re: Install vanilla kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Jay Cliburn wrote:
On Tue, Aug 15, 2006 at 07:17:30PM -0800, Kam Leo wrote:
On 8/15/06, Jay Cliburn <[email protected]> wrote:
Can someone point me to the FM/howto/tutorial that describes how to
install a vanilla kernel in a Fedora system, preferably without using
rpm?  I've built the kernel, but I'd like to learn where everything goes
and how it's created, especially the compressed stuff in /boot, but the
rest of it as well (such as what pieces go into /lib/modules,
/usr/src/redhat, etc.).


Have you tried the FAQ at
Yes.  The FAQ points to, which points to a dead link
at UCSD, and another link at circa 2001 that is not redhat-

Easy recipe follows

[1] make a directory (in your home directory) to hold the sources, I called mine "kernel".
> mkdir kernel

[2] put the kernel tarfile, the latest patch file, and a kernel configuration file in the "kernel" directory. You can start with the configuration file in /boot.
[3] run this script (change the version to match your kernel source).

tar --bzip -xf linux-2.6.17.tar.bz2
cd linux-2.6.17
make mrproper
cp ../patch* .
bunzip2 patch*
patch -p1 < patch*
rm patch*
make clean

# skip this if you don't have an old config file

cp ../configuration .config
make oldconfig

[4] If you don't have a kernel configuration file, or you need to make some changes,
> make menuconfig (or one of the other menu options)

[5] Build the new kernel

I use the following, but there are other options to make an rpm if you're into pain.
> make
> make modules_install
> make install

[6] Your new kernel has been installed in /boot and /lib/modules, and grub has been updated.
[7] Edit /boot/grub/grub.conf if you want to make the new kernel the
[8] Say prayer to Linus and Reboot



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux