SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running kernel v 2.4.22 and i just downloaded a patch for v 2.4.23 .... i know this is gonna sound stupid and i'm really new to linux , but how do i recompile my kernel with this new patch.
thanks for the help!
The below should work if you already have the 2.4.22 sources installed in /usr/src.
NOTE: if patch gives errors then you probably don't have a clean 2.4.22 source and you should just download 2.4.23.
WARNING Not checked for typos or errors.
mv patch-2.4.23.bz2 /usr/src
cd /usr/src
bzip2 -dc patch-2.4.23.bz2 | patch -p0
rm -f linux
mv linux-2.4.22 linux-2.4.23
ln -s linux-2.4.23 linux
cd linux
make mrproper
cp /boot/config-ide-2.4.22 .config #Your /boot/config may be different
make oldconfig
make dep
make bzImage
make modules
make modules_install
cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23
cp .config /boot/config-ide-2.4.23
cp System.map /boot/System.map-2.4.23
cd /boot
mkinitrd initrd-2.4.23.img 2.4.23 #May not be necessary
Edit /etc/lilo.conf and add this:
image=/boot/vmlinuz-2.4.23
label="2.4.23"
initrd=/boot/initrd-2.4.23.img #May not be necessary
append=" your standard append"
root="your root partition"
read-only
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.