LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 11-13-2004, 01:27 PM   #1
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
installed kernel source with YAST, kernel not there


I used YAST to install my kernel source and I was expecting to see it in /usr/src or /usr/src/linux but it's not there. I know how to install it manually, but I am new to SuSE and I would like to try different things that SuSE can do. Does YAST install the kernel source somewhere else, or am I doing something wrong. I am using SuSE 9.1 and migrated from RH9. RH used to keep kernel and kernel source in /usr/src but under SuSE I see only the kernel. BTW I didn't even have the kernel there at first, I did YAST update and now it shows up there. Or is this what I am seeing the source, because I thought that it has to have src, or source in it's name and also have a kernel itself in the directory. I guess I am confused



edit:

OK I tried to install manually. It was installing, but than I went to /usr/src and it doesn't show up there either. I am trying to setup ndiswrapper and I cannot do it without the kernel source. Where is the problem?

Last edited by alagenchev; 11-13-2004 at 07:04 PM.
 
Old 11-14-2004, 10:02 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
To unravel your and my confusion:

the kernel binary is found at /boot

the kernel source can be found at /usr/src/linux (even in suse),

to check if it is installed, type 'rpm -q kernel-source' on command line.

To install the source, open Yast, click 'Install and Remove Software'

select Filter: 'Search'

type 'kernel-source' and check the only entry that appears.

Now you have the sources installed. If you've updated the kernel with an online update previously, you need to run it again, since you'll need matching versions of source and binary.

If you have SuSE 9.1 Personal Edition, the kernel source is not on your CD! You need to download it from the FTP server or add the server to your installation sources in Yast ('Change Source of Installation').
 
  


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
Kernel source needs to be installed..? Wolvenmoon Debian 14 08-18-2005 03:58 PM
how to get the kernel-source installed??? luqman Red Hat 3 03-10-2005 03:31 PM
Installed suse...ran Yast Update...now a kernel panic? RoaCh Of DisCor Suse/Novell 1 12-24-2004 10:32 PM
Install kernel-source with YAST... Akonbobot Suse/Novell 2 11-28-2004 09:42 AM
Kernel Source Installed? How to tell? metsdada Linux - Newbie 13 01-02-2004 12:31 PM


All times are GMT -5. The time now is 11:33 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