DISCLAIMER: I am a Linux novice! The instructions here worked for me, but if you follow them, you accept the role of the blind leading the blind!
Okay, I need to roll Appletalk support into my kernel, and I was going to do a custom kernel anyway, so here goes. First off, the stuff. I cruise over to epiawiki.org and pick up patch-2.6.8.1-epia1.bz2.
Okay, at this point, I am working right out of Linux for Windows Administrators, page 169. And I'm logged in as root, I'm using the GUI (that is, telinit 5).
I am going to follow along with the EpiaPatchHowto sheet. I am downloading the latest kernel, and will proceed in the morning. Too tired right now.
Okay, its a couple days later and I have the new kernel running. Here is the lowdown.
Yes, I followed the steps in the EpiaPatchHowto documentation, but with a twist: I downloaded the latest stable kernel, 2.6.8.1. I made the necessary changes to the steps outlined to use the 2.6.8.1 kernel instead.
During step 5 (on that page), the extract would not work at all. Here is how I got around it.
I moved the linux-2.6.8.1.tar.bz2 file to /usr/src and then did bunzip2 linux-2.6.8.1.tar.bz2. I then did tar -xvf linux-2.6.8.1.tar and after all that ran, I now have a /usr/src/linux-2.6.8.1 directory. I then deleted the linux-2.6.8.1.tar file, since I have uncompressed it, and didn't want to keep it lying around there. Also, yes, I know that I could have bunzipped and un-tarred in one step, but it didn't work earlier, and I didn't know what would work. I did it in multiple steps, and it worked. So there!
Okay, now when continuing with the steps in the EpiaPatchHowTo, make the necessary changes to the instructions so that you use the new /usr/src/linux-2.6.8.1 directory.
After finishing the nine steps on that page, you still have to do some more work.
After finishing the steps on that page, get to a command prompt and cd /usr/src/linux-2.6.8.1 to get to the new kernel source directory.
I am using the GUI, and am working in a terminal command window.
Clean out the kernel configs for the new kernel. This is a new kernel, but I want to play it safe.
make mrproper
Fire up the kernel configurator.
make xconfig
There are about a thousand options here, and I cannot possibly list them all. I did, however make the following general changes: Whenever multiple processors were listed, I disabled everything except the VIA stuff. Under networking, I turned off all the cards except the VIA stuff. Also, since I am building this box to run as a server, I turned off just about all the audio stuff, the video stuff, a load of stuff! If I saw any feature that was a for a different computer (i.e. "Dell Laptop"), I turned all that garb off.
By the time I was done, probably half the availble options were disabled.
I saved my choices, and exited the program. This returned me to the terminal command window.
Check that all the dependencies are met
make clean
I was blessed and had no alerts I had to deal with. You may or may not be so blessed.
Mind you, at this stage, I am reading from Page 172 of Linux for Windows Administrators. I cannot recommend this book enough. It is out of date, but still is the best resource book I have.
Edit the Makefile. The book shows using vi, but vi is nasty. Be lazy and use gedit.
gedit Makefile
The fourth line will say something like "EXTRAVERSION =". I changed mine to read "EXTRAVERSION = -epia". Save the file and close gedit. You will be back at the command window.
Time to make the kernel image! This took about 10 minutes.
make bzImage
Make all the modules the kernel will need. This part took hours. This is one of those 'overnight' things.
make modules
Copy the modules to where they need to go. This takes a couple minutes.
make modules_install
Make the RAM disk image.
mkinitrd /boot/initrd-2.6.8-epia.img 2.6.8-epia
Note that along the way I must have messed up somewhere, cuz the name is now '2.6.8-epia'. whatever. This works, so I'm listing it.
Okay, now you put in
make install
Reboot the system.
reboot
And at this point, you should be good to go. When the system reboots, you will see your new kernel as one of the choices, but it will not be the default. Pick your new kernel and try it out.