Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 11-13-2004, 02:27 PM   #1
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


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 08:04 PM.
Old 11-14-2004, 11:02 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

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').


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 04:58 PM
how to get the kernel-source installed??? luqman Red Hat 3 03-10-2005 04:31 PM
Installed suse...ran Yast a kernel panic? RoaCh Of DisCor SUSE / openSUSE 1 12-24-2004 11:32 PM
Install kernel-source with YAST... Akonbobot SUSE / openSUSE 2 11-28-2004 10:42 AM
Kernel Source Installed? How to tell? metsdada Linux - Newbie 13 01-02-2004 01:31 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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