Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-17-2003, 03:42 PM   #1
Registered: Apr 2003
Distribution: Xubuntu
Posts: 112

Rep: Reputation: 15
updating kernel source

i want to upgrade my kernel from 2.4.20 to 2.4.21, so i downloaded 2.4.21 patch. i bunzipped it and it gave me just one file that linux recognizes as a kernel source patch. what do i do with it now? all of the tuturials for updating my kernel say that once i bunzip or tar it i should see linux folders pop up in my /usr/src directory. since this is just a small update do i need to have the 2.4.20 source already installed (which the slackware installation didn't do for me for some reason, despite the full install) to patch it? i'd appreciate any help
Old 08-17-2003, 04:24 PM   #2
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
To patch the kernel you would need to have all the kernel things.
Like the headers and all that. Then once you tar the file, and
move it to /usr/src/linux (which you should create after having
installed the headers) and enter "patch -p1
<". And that will update/patch your old
kernel to the new one, after that, you will need to recompile the

Old 08-17-2003, 05:37 PM   #3
Registered: Apr 2003
Distribution: Xubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
ok i downloaded the source .tar and unpacked it. in the output it predictably said that it was unpacking things into the /usr/src directory. when i go there i don't see anything new. what the hell? the only folders i see are
thrice@Home:~$ su
root@Home:/home/thrice# ls /usr/src
nvidia  rpm
any idea why?
Old 08-17-2003, 05:44 PM   #4
Registered: Apr 2003
Distribution: Xubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
ahhh nevermind..../usr/src was created in my home directory oops


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
Updating glibc - from source, cont'd sundialsvcs Linux - Software 1 09-04-2005 03:46 PM
Updating glibc - from source sundialsvcs Linux - Software 3 08-29-2005 11:41 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
What are the Pro's and Con's of Updating From Source farmerdan Linux - General 3 02-22-2004 05:34 AM
installing / updating from source billybucknall Linux - Software 9 02-09-2002 06:58 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration