Results 1 to 5 of 5

Thread: How to clean old kernels??

  1. #1
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    How to clean old kernels??

    I'm on Red Hat 7.2. Since I'm an update crazy, I run up2date almost everyday and got about 4 kernels right now on my system. The up2date will install and create new kernels but won't take out the old one ( thanks god ). But that create another problem for me. I wanted to take out some old kernles that I no longer use. So besides modifying GURB.CONF and deleting System.map-2.4.7-10, initrd-2.4.7-10.img, module-info-2.4.7-10 and vmlinuz-2.4.7-10, what else should I remove to clean the whole version from the system??

    TIA.

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: How to clean old kernels??

    First off the source should be removed. Then delete each kernel as listed in your boot loader. I put all of mine in the boot dir so I can easily find them and back them up. As far as anything else, I am not aware of any other files that need to be removed. I just kill of the kernels and their source ( I make sure each kernel has its own source dir)

  3. #3

    Re: How to clean old kernels??

    can't you do rpm -e kernel-2.4.x?

  4. #4
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re: How to clean old kernels??

    /usr/src/linux-??? for the sources
    /lib/modules/kernelver for the old kernel modules


    Those 2 should help keep the space useage down.

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: How to clean old kernels??

    Well, I installed binary version of kernels so there is no source....

    I will try rpm uninstall stuff though and see what happen...

    Thanks guys....

Similar Threads

  1. Let's talk about kernels
    By snct in forum Linux - General Topics
    Replies: 5
    Last Post: 10-12-2004, 07:11 PM
  2. Mp3/Wav/Ogg Clean Up
    By stryder144 in forum General Chat
    Replies: 4
    Last Post: 02-13-2003, 08:20 PM
  3. kernels, compiling, and LFS, oh my!
    By Feztaa in forum Linux - Software, Applications & Programming
    Replies: 17
    Last Post: 01-19-2002, 11:41 PM
  4. On Linux kernels and Via chipsets
    By JimH in forum Linux - General Topics
    Replies: 6
    Last Post: 12-23-2001, 11:55 AM
  5. kernels
    By agar in forum Linux - General Topics
    Replies: 5
    Last Post: 12-08-2001, 02:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •