Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-22-2003, 08:01 PM   #1
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Rep: Reputation: 30
Exclamation The Linux Kernel

I have a few questions reguarding the kernel. I've heard that linux is only a kernel. Is there any truth to this? Howcome after I upgraded my linux kernel (I have Redhat 8.0) it shows up as 2 linux boot options in Grub? And lastly, how do I remove the older kernel boot option from Grub? Thanks in advance.

Old 05-22-2003, 08:26 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Re: The Linux Kernel

Originally posted by KptnKrill
I have a few questions reguarding the kernel. I've heard that linux is only a kernel. Is there any truth to this?
This is a highly philosophical question ...
Check out this link :)
I'd recommend following the site up a few levels,
too, because it contains quite essential information
like this, too...

Old 05-22-2003, 09:43 PM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I think you have two boot options because you have two kernel versions and I'd recommend keeping the other until you really need the space or are really sure your new kernel works under every condition with every process. I don't use grub, but I guess there's a grub.conf or something to edit if you do want to remove it.

I'd agree with the last paragraph of that link, btw - two of my computers run Linux kernels with a bunch of great GNU utilities but if you ask me what my OS is, it's definitely Linux.

I mean, I've replaced half the utilities in my DOS directories but that doesn't mean I'm running a GNU/Hacker X/Hacker Y/DOS system (because I have several GNU ports on it along with a lot of free- and Free-ware) - I'm still running DOS, due to the io.sys and msdos.sys.

Linus & friends "only" wrote the kernel, granted, but without that I'd be running a bunch of GNU ports "only" on a DOS box because there was no kernel. And I can 'less' with the best of 'em on DOS but it's clear to me which system I'm running, to say the least.
Old 05-23-2003, 12:39 AM   #4
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
It's kind of like the old Reese's peanut-butter cups commercials... "Hey, you got you chocolate in my peanut-butter!" "Well, you got you peanut-butter on my chocolate!" "Mmmm... Tastes great!"

The people at GNU were working on a home-made, free and open Unix work-alike. They wrote all their own code for all the commands and programs that you need to do anything useful with a computer. They figured they would get around to making their own kernel.

In the mean-time, Linus began work on a kernel. The kernel is the lowest level of software. It sits between the user-interface and the hardware. Eventually, somebody started running GNU on a Linux kernel, and our favorite OS was born. This took a bit of pressure off GNU to produce a kernel, but they eventually did in 1999. You can run GNU on a HURD kernel, if you want. I guess it's based on a MACH kernel, from BSDs if I remember correctly. That would make HURD and OS-X cousins.

To remove a kernel, you need to edit your /boot/grub/grub.conf, as digiot wrote, and delete the section pointing to your old kernel. Then, you can delete the kernel and supporting files from /boot/ ... vmlinuz-2.4.18-something, initrd-2.4.18-something.img, and Be sure you are deleting the right ones, otherwise you won't be able to reboot. You can also look in /lib/modules/ for a 2.4.18-something directory. If there are two, matching your old and new kernel versions, then you can delete the whole directory for the old kernel. If there is only one, then it was for both kernels and needs to stay.

You don't NEED to delete your old kernel. It's actually a good thing to have a couple, in case one gets hosed somehow, you should still be able to boot the other. I have at least four on my RH9 laptop... Two stock and a stable custom and an experimental custom. If both kernels use the same /lib/modules/version directory, then it's only costing you a couple megabytes in /boot/ to keep the old kernel.


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
smp kernel: uncompressing Linux ..ok booting the kernel krissb Linux - General 1 11-16-2005 07:31 PM
Debian patched kernel vs official Linux Kernel gerald45 Debian 7 10-12-2005 05:45 AM
Linux kernel debugging and Linux kernel module programming Igor007 Programming 2 08-13-2005 06:12 AM
Linux kernel debugging and Linux kernel module programming Igor007 Linux - Enterprise 3 08-12-2005 03:47 PM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 09:48 AM > Forums > Linux Forums > Linux - Newbie

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