LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-10-2009, 11:34 AM   #1
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Rep: Reputation: 15
Exclamation Questions about Kernel


Hi experts, good day.

Obviously I'm new to Linux because I post my question to this section.

My questions are all about Kernel. Here are my questions:
1. What is a Kernel?
2. Where can I find the Kernel?
3. What is the main function of the Kernel?
4. Do other Operating Systems have also a Kernel?
5. It is said that Linux is came from the Kernel, that's why Linus Torvalds called his OS name "Linux"?.
6. Does it mean that the name of Kernel program is "Linux"? So other Operating Systems as well are using Linux?

I'll wait for your answers guys.

Take care and God bless.
 
Old 01-10-2009, 11:42 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Wikipedia is a good place to find answers to your questions. For instance see:
http://en.wikipedia.org/wiki/Kernel_(computer_science)
http://en.wikipedia.org/wiki/Linux_(kernel)

Last edited by Didier Spaier; 01-10-2009 at 11:46 AM.
 
Old 01-10-2009, 12:42 PM   #3
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Ok now I got it.

Questions:
1. Where can I find the Kernel in Linux?
2. Where can I browse? So that I will know where's the Kernel located.
 
Old 01-10-2009, 02:16 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
In Linux, the kernel is just a file loaded in memory at boot time.

This file is usually located in the /boot directory.

To find which is actually used (you can have several kernels available, but use only one at a time), open a terminal and type:
Code:
uname -r
then find in the /boot directory the file whose name fits better with uname command's output. Kernel names often begin with linux or vmlinuz but there is no rule about that. A kernel usually "weighs" between 2 and 5 megabytes.
 
Old 01-10-2009, 10:15 PM   #5
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks Sir Didier Spaier. I have questions again.

1. Do I need to update the Kernel Sir?
2. Is it really important to update the Kernel and Why?
 
Old 01-10-2009, 11:53 PM   #6
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 240

Rep: Reputation: 32
Quote:
Originally Posted by SHENGTON View Post
Do I need to update the Kernel Sir?
it depends upon your need. If you find any bugs while working because of kernel related issues, then you need to update. otherwise, you can continue working on it.
 
Old 01-10-2009, 11:56 PM   #7
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 240

Rep: Reputation: 32
Quote:
Originally Posted by SHENGTON View Post
Where can I find the Kernel in Linux?
Linux itself is a kernel. Have a look at the following link:


Last edited by chakka.lokesh; 01-11-2009 at 12:01 AM.
 
Old 01-10-2009, 11:59 PM   #8
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 240

Rep: Reputation: 32
Quote:
Originally Posted by SHENGTON View Post
Where can I browse? So that I will know where's the Kernel located.
have a look at

1. /boot
2. /usr/src

(this is in fedora distribution. If you are using a different distro check for similar names.)
 
Old 01-11-2009, 12:58 AM   #9
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
To clarify,
The running kernel is located in /boot
The kernel source is located in /usr/src

The kernel source is the program that builds the kernel.
You can download the latest kernel at kernel.org.
But, you will have to compile the kernel before installing which is a whole other story.

Read Linux Kernel in a Nutshell
 
Old 01-11-2009, 01:10 AM   #10
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for enlighten me Sir chakka.lokesh and okos. How about my question number 2: Is it really important to update the Kernel and Why?
 
Old 01-11-2009, 02:06 AM   #11
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
Quote:
Originally Posted by SHENGTON View Post
Thanks for enlighten me Sir chakka.lokesh and okos. How about my question number 2: Is it really important to update the Kernel and Why?
Probably not important.

As stated before, if there is a bug with the current kernel. Some newer software will not compile with older kernels. But then on the other hand, some software will not compile with the cutting edge kernel either.

So unless you have an issue, don't worry about it.
 
Old 01-11-2009, 09:11 AM   #12
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks Sir okos. I have question again. What will happen if Linux don't have a Kernel?
 
Old 01-11-2009, 09:31 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by SHENGTON View Post
Thanks Sir okos. I have question again. What will happen if Linux don't have a Kernel?
The same it will happen to your car if it doesn't have an engine.

And, bear in mind that Linux strictly speaking *is* the kernel.

More generally, there is *nothing* you can do with *any* operating system if it misses a kernel.
 
Old 01-11-2009, 09:36 AM   #14
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
I see, thanks Sir Didier Spaier.
 
  


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 questions iansoundz Linux - General 4 07-26-2005 09:38 AM
Kernel Questions. rvijay Linux - General 3 01-09-2005 05:33 PM
Kernel questions breider565 Linux - Newbie 2 06-04-2004 04:30 PM
kernel questions matt_w_lambert Linux - General 2 12-27-2003 09:47 PM
kernel questions SLaCk_KiD Slackware 2 06-05-2003 01:09 AM


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