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 12-28-2004, 02:02 AM   #1
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
Delete old kernel


Using Debian srage.

Started with kernel 2.4x, and then installed kernel 2.6 image.
So, now that i have everything working well with new 2.6 kernel, how do i un-install (or delete) the old 2.4 kernel?

Thanks.
 
Old 12-28-2004, 05:43 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
You really shouldn't delete it, but here you go

In /boot
file callen vmlinuz-2.4.xx and you'll probably create a symbolic link called "linux" to your new kernel
you can remove the old initrd-2.4.xx

from /usr/src
the directory and all subdirectories under linux-2.4.xx

If you do this and some strange thing happens to your 2.6 kernel, you will be SOL. I'd recommend leaving at least 1 older kernel on your system.
 
Old 12-28-2004, 10:39 AM   #3
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by musicman_ace
...I'd recommend leaving at least 1 older kernel on your system.
I'd have to agree. Unless you're _really_ tight on space, you're not hurting anything by leaving it there, and it's nice to have a failsafe to fall back on in case of disaster.
 
  


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
How to I fully delete every trace of kernel modules ??? Tsuroerusu Linux - Software 1 02-13-2005 12:26 PM
How to delete kernel?? harlemno1 Linux - Software 6 11-23-2004 07:38 AM
Redhat 9 RHN Kernel Update - Delete Old One junpit Red Hat 6 08-29-2003 04:04 PM
How to delete old kernel ByNature Linux - Newbie 17 08-06-2003 11:34 PM
Delete kernel log Linux - Newbie 3 12-20-2002 03:04 AM

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

All times are GMT -5. The time now is 02:10 AM.

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