LinuxQuestions.org
Register a domain and help support LQ
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 10-26-2003, 03:04 PM   #1
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Rep: Reputation: 15
/usr/src/linux?


in numerous things I've been told to cd to this dir(/usr/src/linux) and I don't have it so can someone tell me where else this can be found?

Ash
 
Old 10-26-2003, 03:07 PM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
the you maybe havent installed the kernel source, do so
 
Old 10-26-2003, 03:09 PM   #3
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by kasperhans
the you maybe havent installed the kernel source, do so

and how would I go about doing that
 
Old 10-26-2003, 03:15 PM   #4
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Rep: Reputation: 15
hmmm....
you got to have some knowledge about your hardware...
after that you would log in as root, cd to /usr/src/linux
after that you would probably like to set up your kernel using
make menuconfig
after setting up the APPROPRIATE options, you can compile your kernel:

make dep
make clean
make bzImage
make modules
make modules_install
cp System.map /boot/System.map
cat arch/i386/boot/bzImage > /boot/vmlinuz
lilo

happy slacking ^^
 
Old 10-26-2003, 03:17 PM   #5
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linen0ise
hmmm....
you got to have some knowledge about your hardware...
after that you would log in as root, cd to /usr/src/linux
after that you would probably like to set up your kernel using
make menuconfig
after setting up the APPROPRIATE options, you can compile your kernel:

make dep
make clean
make bzImage
make modules
make modules_install
cp System.map /boot/System.map
cat arch/i386/boot/bzImage > /boot/vmlinuz
lilo

happy slacking ^^
there is no /usr/src/linux
 
Old 10-26-2003, 03:26 PM   #6
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Rep: Reputation: 15
then....you have to install the kernel source...
download it from ftp://ftp.slackware.at/slackware-9.1/slackware/k
and install using
installpkg kernel-source-2.4.22-noarch-3.tgz
 
Old 10-26-2003, 03:31 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Typically - you'd want to download a kernel first - then extract it to /usr/src/ - then - if there is an old /usr/src/linux symlink to an old source tree then delete it first - then, create a new symlink to your newly extracted source tree and put it in /usr/src - you should now have a new symlink called /usr/src/linux which points to the new source tree that you have just extracted - then - cd into that new symlink.
 
  


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
/usr/src/linux not there? blames Linux - Software 6 10-15-2004 07:06 AM
/usr/src/linux millennia DamnSmallLinux 6 07-24-2004 02:48 PM
/usr/src/linux player_dos Linux - Newbie 2 07-20-2003 11:49 PM
/usr/src/linux ?? Ekpyrotic Linux - Newbie 6 07-16-2003 11:14 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration