tempestuous
Group: Members
Posts: 259
Joined: Aug. 2004 |
|
Posted: July 03 2005,02:26 |
|
Yes - tar -jxvf kernel-source-2.4.26.tar.bz2 ln -s /usr/src/linux-2.4.26 /usr/src/linux
Put the ACPI patch in /usr/src and uncompress it - gunzip acpi-20040326-2.4.26.diff.gz
Sometimes, patching works best from the kernel source directory, thus - cd /usr/src/linux patch -p1 < /usr/src/acpi-20040326-2.4.26.diff
If this seems not to work, the other option is to be in the same directory as the patch itself - cd /usr/src patch -p0 <acpi-20040326-2.4.26.diff
Now you're ready to recompile the kernel. http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html is the complete guide, my summarized notes are - cd /usr/src/linux make xconfig "LOAD CONFIGURATION FILE ..." find the existing config file make dep make clean make bzImage make modules (this can take hours) make modules_install make install make clean
If you do not see a new kernel now in the /boot directory, you will need to manually copy it there - cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
Modify LILO to be able to boot to this new kernel. Keep your existing boot options as well, so you can still boot to the old kernel in case the new kernel fails.
Craig S
|