Visit Jeremy's Blog.
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 12-29-2003, 08:30 PM   #1
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 381

Rep: Reputation: 31
updating kernel!??

ok.... here i go...

I have updated my kernel 2.4.20-8 to 2.4.20-27.9 and it was
really easy to do... all i did was... launched up2date program....
and it did it for me... i didn't have to do anything else.... just like
some complicated guides... every time i start up my pc grub comes
and gives me 2 Options to boot linux one with the old kernel and
the other one with the new kernel... so i go everytime with the new
kernel... i know how to remove the old entry from grub.... my question
is/are...... is the old kernel taking space!?? is there anyway to remove
the old kernel!?? will this harm my current os!??

Old 12-29-2003, 10:38 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
" is the old kernel taking space!??"


" is there anyway to remove
the old kernel!?? will this harm my current os!??"

You can remove a kernel using the rpm command. This will hurt nothing as long as it is not the kernel you are running on. To remove a kernel rpm package named kernel-2.4.22-56 then log into root, open a terminal and issue the command:
rpm -e kernel-2.4.22-56

To find out what your kernel rpms are named use the following command:
rpm -qa | sort | less

Then scroll down to the kernel names.

On second thought, I have to say that I am not sure what effect exactly removing a rpm package will have on grub. The rpm install changed grub and so the rpm uninstall should also change grub. So before you remove the old kernel save /boot/grub/grub.conf someplace handy. Then after you do the rpm -e check /boot/grub/grub.conf again to see if it still works the way you want before you reboot. Or you could make a boot floppy and test it out before you do the rpm -e.

Be prepared. Create a LifeBoat CD.

Steve Stites

Last edited by jailbait; 12-29-2003 at 10:39 PM.


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
updating Kernel? Greenman Linux - Newbie 2 10-07-2004 10:26 AM
Kernel Updating. TuxToaster Linux - Distributions 0 07-15-2004 03:16 PM
updating kernel -- help! grapier Fedora 4 01-12-2004 12:26 PM
updating the kernel ipconfig Linux - Software 4 12-03-2003 11:11 AM
Updating the Kernel PionexUser Linux - Newbie 3 07-18-2003 09:04 AM > Forums > Linux Forums > Linux - Newbie

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