9. Download and patchDownload a fresh kernel from www.kernel.org. You need to make sure you get a full kernel. Find the "latest stable version of the Linux kernel" and click on F for FULL. Wait patiently. A bzipped kernel is about 26M. If you're feeling particularly geeky you could also wget http://kernel.org/pub/linux/kernel/v2.4/linux-<version>.tar.bz2.
While you're waiting, grab a copy of the patch as well. For the 2.4.20 kernel use the 2.4.20 patch. It's dated 2002.12.12. You'll need to know that number later when we check to make sure the patch worked. If you are using a different kernel version make sure you take note of the date of your patch. Your numbers will differ slightly from the one I use later on. Once you've got those two files (the kernel and the patch) unpack them and patch the kernel. 9.1. UnpackFirst we're going to set the stage to patch the kernel. We need to unpack the bz2 file (bzip2) and shuffle the directories around a bit. /usr/src/linux probably points to your current kernel. We need it to point to the new kernel, so we'll do that as well.
9.2. PatchNow we're going to actually patch the kernel. I take one extra step from the instructions at ACPI4Linux. Instead of gunzipping and patching in the same line, I use two lines. This is purely a matter of preference. When you patch the kernel you want to make sure there are no error messages. (There is no "yay" line, instead look for the absence of errors.)
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |