Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-13-2004, 09:47 AM   #1
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
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...

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??
Old 02-13-2004, 11:19 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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?

Last edited by trickykid; 02-13-2004 at 11:21 AM.
Old 02-13-2004, 07:14 PM   #3
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
Old 02-17-2004, 12:21 PM   #4
Registered: Feb 2004
Location: Upstate NY
Distribution: Slackware
Posts: 79

Rep: Reputation: 15
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.


lilo -t -v

that should test and update lilo

lemme know


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems recompiling Xmame? mrwriter Linux - Software 0 05-04-2004 09:54 PM
kernel 2.6.5 recompiling problems c31c Slackware 20 04-29-2004 04:56 PM
Prelinking question && patching... arrruken Linux - General 3 03-19-2004 06:17 AM
Upgrading & security patching slackware correctme Slackware 13 12-08-2003 11:19 PM
Problems recompiling a new kernel Soma Debian 3 09-20-2003 09:46 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration