When I input:

# qpkg -I -v gentoo-sources

I get:

-bash: qpkg: command not found

Kvin

On Wednesday 01 October 2003 11:28 pm, Alan wrote:
> 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

-- 
Kevin Miller, Jr.
Masters of Public Affairs,
Comparative and International Affairs, Information Systems, and Nonprofit 
Management,
School of Public and Environmental Affairs
Indiana University - Bloomington
http://e-civilsociety.org
[EMAIL PROTECTED]
mobile: 812-219-5047



--
[EMAIL PROTECTED] mailing list

Reply via email to