LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2004, 09:47 AM   #1
SlackN00b
Member
 
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...

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

Rep: Reputation: 266Reputation: 266Reputation: 266
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
SlackN00b
Member
 
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
bejiita
Member
 
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.

secondly

lilo -t -v

that should test and update lilo

lemme know
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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