On Wed, Oct 01, 2003 at 03:14:23PM +0000, Kevin Miller, Jr. wrote: > How can I remove old kernels from my computer. Currently I have > 2.4.20-gentoo-r5, 2.4.20-gentoo-r7 and 2.4.22 (vanilla source). I want to > delete the first kernel since I know the second and third kernels are working > fine.
Funnily enough I'm doing this on my own system as we speak :) Assuming you mean remove the packages and extra files as well: To find the package names that you have installed for the kernel: # qpkg -I -v gentoo-sources Then unmerge the packages: # emerge unmerge <package> This will remove most of the source files, but not the compiled binary files. To remove them just go into /usr/src and rm -rf the directories of kernel you don't need anymore. Then mount /boot and go into there and remove the actual kernel files that are un-needed. As a note, I generally keep two at all times, just in case. IE: Currently I have ac-sources-2.4.22-ac4 and -ac1 installed and available on boot, but anything before that is gone. This is good for.... well, if you're paranoid anyway :) alan -- Alan <[EMAIL PROTECTED]> - http://arcterex.net -------------------------------------------------------------------- "There are only 3 real sports: bull-fighting, car racing and mountain climbing. All the others are mere games." -- Hemingway -- [EMAIL PROTECTED] mailing list
