Download the new kernel. Put it in your Documents folder. That way You can follow these instructions.
Move a copy to the proper directory. Do this as root.
Code:
mv /home/<user name>/Documents/<name of kernel> /usr/src
That will put it in the right directory.
Type in this:
That is a lower case L, by the way. It should look something like this:
Code:
root@smoker /usr/src # ls -l
total 8
lrwxrwxrwx 1 root root 11 Jun 14 03:43 linux -> linux-2.6.6
drwxr-xr-x 19 root root 1296 Feb 22 01:45 linux-2.6.0-test11
drwxr-xr-x 19 root root 1296 Jun 14 03:17 linux-2.6.1
drwxrwxr-x 19 500 500 1304 Jun 14 23:18 linux-2.6.6
drwxr-xr-x 19 root root 1264 May 11 03:47 linux-2.6.6-rc1
drwxr-xr-x 18 root root 720 May 11 03:30 linux-2.6.6-rc2
root@smoker /usr/src #
note the top one. That is a link. You need to remove the link you have pointing to your old kernel.
Then make new link:
Code:
ln -s linux-2.6<exact version here> linux
Space between kernel version and the word linux.
Now type in
Let's get off to a clean start.
That cleans out any old trash that you don't want to mess up your kernel.
You are now ready to configure your new kernel. Type in
and go through each screen picking what you want and removing what you don't. You need to go through each screen. Take nothing for granted in there. Nothing is really default.
A blank space means it is not included, a * means it is in the kernel, a M means it is a module. Some things like file systems types, must be built into the kernel. Example. Your root partition is reiserfs. You MUST have reiserfs built into the kernel, with a * not a M. If it is not there it cannot read the root partition and can not boot.
With 2.6 kernels the compile is easier. This is the command I use.
Code:
make all && make modules_install
After it gets compiled, you need to copy the new kernel over to the boot directory.
Code:
cp arch/i386/boot/bzImage /boot/bzImage-2.6.test1
I do things a bit different. I name my kernels with the version and a test number. Helps keep them straight. You will need to also change your bootloader to point to the new kernel.
That should get you off to a start. I'm sure you'll have questions though. Kernels can be tricky that first time or two. Reminds me of women sometimes. Women know what to expect from us though.
Later
Note: If you copy and paste, there are extra spaces to make the spaces easier to see. You may need to remove the extras.