LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-29-2003, 07:30 PM   #1
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
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!??

Thanks!
 
Old 12-29-2003, 09:38 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

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

Yes.

" 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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 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
Open Source Consulting | Domain Registration