Thanks everyone for all of your help.  I successfully removed the kernel from 
my computer.  I joted down what you guys told me to do and saved in in a text 
document.  Figured some of you would like a copy for the next noob:)

To unmerge an old kernel, follow these simple guidelines:

1.  If you do not have gentools installed on your computer yet, you will need 
     to emerge it.  If you do not know what this is, you probably have no 
     installed it.  To install gentoolkits:

        #emerge gentoolkit

2.  To find out which package names you have installed for each kernel:

        # qpkg -I -v gentoo-sources

        Your result may look somthing similar to this:

        sys-kernel/gentoo-sources-2.4.20-r5 *
        sys-kernel/gentoo-sources-2.4.20-r7 *

        Note:
                a. The above uses a CAPITAL I as in Indiana not L as in Louisiana.
                b. If you are using another kernel source, just replace 
'gentoo-sources'                                                
                    with your preferred source, i.e. vanilla-sources

3.  To unmerge the packages:

        # emerge unmerge <package>

        Since I want to unmerge the kernel: gentoo-sources-2.4.20-r5, I will input 
        this:

        # emerge unmerge gentoo-sources-2.4.20-r5 *

4.  So far, you have removed most of the source files, but not the compiled 
     binary files.  To remove these files, go into /usr/src and rm -rf the             
   
     directories of kernel you don't need anymore.  In this example, you would  
     look for all files that relate to gentoo-sources-2.4.20-r5.

5.  Next, mount /boot and go the /boot directory.  Delete all the files 
     related to the kernel version you just deleted.  When you are done, 
     umount /boot.

6.  Finally, go into the /lib/modules/ and delete all the files related to the 
     kernel version you just deleted.

Kevin Miller
  


--
[EMAIL PROTECTED] mailing list

Reply via email to