LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2004, 03:07 PM   #1
DRAYKKO
LQ Newbie
 
Registered: Sep 2004
Location: New York
Distribution: Fedora Core 2
Posts: 3

Rep: Reputation: 0
Question Installing The Kernel


I'm a bit perplexed. I recently installed Fedora 2 on my laptop, and I'm trying to figure out whether the kernel (2.6.5-1.358) is already installed or if I have to install it.

This whole thing precipitated from the fact that I'm trying to get the laptop's onboard modem to work, but the instructions for the SmartLink drivers (which were recommended after running scanmodem from linmodems.org), say that the Kernel will need to be installed.

If there's no way to know whether it's already installed, would re-installing it cause any damage? Any help you guys (and gals) could give would be greatly appreciated....

Dre---
 
Old 09-21-2004, 03:21 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,474

Rep: Reputation: 189Reputation: 189
If you want to know what kernel your running, just run:

$ uname -r
 
Old 09-21-2004, 05:13 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If the kernel wasn't installed, you wouldn't be able to run Linux . You're probably wondering about whether the kernel sources are installed, and they may well not be. If there's nothing in your /usr/src/linux directory, the kernel sources aren't installed. Look for the kernel-source RPM that came with your fedora and install it.
 
Old 09-22-2004, 05:19 AM   #4
DRAYKKO
LQ Newbie
 
Registered: Sep 2004
Location: New York
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by btmiller
If the kernel wasn't installed, you wouldn't be able to run Linux . You're probably wondering about whether the kernel sources are installed, and they may well not be. If there's nothing in your /usr/src/linux directory, the kernel sources aren't installed. Look for the kernel-source RPM that came with your fedora and install it.
Thank you!
The weird thing is that when I go to the /usr/src/linux directory, ther are files in the directory.

Another peer suggested I run the following command

[-d/lib/modules/$(uname -r)/build] && echo yes || echo no

and when I did I got a message saying "No such file or directory no". I understand this means that the sources (or headers?) are not installed? Where can I find the kernel-source RPM? (I installed from CD's that came with the "Fedora 2 Bible" text.)

Dre---
 
  


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
Installing Kernel 2.6.8.1 - Kernel Panic error shaun85 Linux - Newbie 10 07-16-2007 05:20 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 07:30 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 10:48 PM
Kernel panic when installing a new Kernel NeeD_ResT Debian 2 10-16-2004 09:10 PM
installing 2.2.10 kernel on Redhat 8.0 (kernel 2.4.18-20) sumit_nus Linux - Software 5 07-31-2003 04:06 AM


All times are GMT -5. The time now is 04:34 PM.

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