LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Patching & Recompiling problems (https://www.linuxquestions.org/questions/slackware-14/patching-and-recompiling-problems-145650/)

SlackN00b 02-13-2004 09:47 AM

Patching & Recompiling problems
 
Hi guys I think I'm doing something wrong can u tell me what pls
So I dl the 2.6.2 patch file, extract it to /usr/src/linux then applied the patch with:
patch -p1 < patch-2.6.2
Rename the directory:
mv /usr/src/linux-2.6.1 /usr/src/linux-2.6.2
Then from /usr/src

rm -f linux
ln -s linux-2.6.2 /usr/src/linux
cd linux

make mrproper

make menuconfig

Save the configuration, then...

make
su -c "make modules_install"
make install

Evething is fine apart from the fact that when I type:
uname -r
It says linux-2.6.1 and not linux-2.6.2
So whats wrong??

trickykid 02-13-2004 11:19 AM

And there are no errors when patching I assume? And you've edited lilo.conf correctly so when running 'make install' it saves it properly?

Do you have both a vmlinuz and vmlinuz.old in your /boot directory? And your sure your booting to the correct kernel during the lilo prompt?

SlackN00b 02-13-2004 07:14 PM

I bet I've done all u said...
Can u pls tell me the right procedure after patching my kernel or point me to a guide.
Thx a lot...Sorry It's the 1st time I patch my kernel.

bejiita 02-17-2004 12:21 PM

try this
 
have you edited your Make file.

heres what I do ...

pico Makefile, ctrl-w, search for... /boot

#export-blah blah blah /boot

uncomment that.

secondly

lilo -t -v

that should test and update lilo

lemme know


All times are GMT -5. The time now is 12:12 AM.