LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-29-2004, 12:07 AM   #1
dbzw
Member
 
Registered: Feb 2004
Distribution: FoX Desktop (Based on Fedora Core)
Posts: 70

Rep: Reputation: 15
Unhappy Removing old kernels


Hello!

I recently installed a new kernel and I would like to delete the old kernel. How do you remove an old kernel? My old kernel version is 2.4.20-6 (it came with my distro). Please give me simple instructions for I am very new to Linux! Thank you very much!
 
Old 02-29-2004, 02:07 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
http://www.linuxquestions.org/questi...hreadid=151740
 
Old 02-29-2004, 02:14 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Knowing your dsitro would help :}

Usually it's two things you need to clean up:

/boot/vmlinuz.<mumble>
(potentially also /boot/config.<mumble>
and /boot/System.<mumble>)

/lib/modules/<mumble>

Then remove the reference to the kernel
from your bootloaders config file.


Cheers,
Tink
 
Old 02-29-2004, 10:35 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
su -c "rm -f /boot/vmlinuz-2.4.20-6 /boot/initrd-2.4.20-6.img /boot/System.map-2.4.20-6;rm -fr /lib/modules/2.4.20-6 /usr/src/linux-2.4.20-6 "
 
Old 02-29-2004, 01:00 PM   #5
dbzw
Member
 
Registered: Feb 2004
Distribution: FoX Desktop (Based on Fedora Core)
Posts: 70

Original Poster
Rep: Reputation: 15
Thanx Guys! I'll try your suggestions
 
Old 02-29-2004, 01:01 PM   #6
dbzw
Member
 
Registered: Feb 2004
Distribution: FoX Desktop (Based on Fedora Core)
Posts: 70

Original Poster
Rep: Reputation: 15
Oh yeah.

My distro is Red Hat Linux 9
 
  


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
Removing old kernels? carlosinfl Fedora 1 04-12-2005 10:58 AM
Removing old kernels mike270 Linux - Software 6 08-07-2004 10:05 PM
Re: Removing old kernels jong357 Linux - General 1 02-29-2004 08:54 AM
Removing old kernels dbzw Linux - General 1 02-29-2004 12:33 AM
removing kernels? rakriege Linux - Newbie 1 11-09-2003 06:54 PM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration