Fred J. wrote:
Hi
I am compiling a 2.6.16 and have /boot full of files from kernels I am 
trying-and-erroring. how do I reomve kernels I just installed.

This will list the kernels currently installed:

$> dpkg -l linux-image* | grep ^ii

The second column will list the package names of the corresponding kernels. Just use apt-get to remove the ones you don't want. For example, I get the following list of installed kernels:
$> dpkg -l linux-image* | grep ^ii
ii linux-image-2.6-486 2.6.16+0.2 Linux kernel 2.6 image on 486-class machines ii linux-image-2.6.15-1-486 2.6.15-8 Linux kernel 2.6.15 image on 486-class machi ii linux-image-2.6.16-2-486 2.6.16-18 Linux kernel 2.6.16 image on 486-class machi ii linux-image-2.6.16-2-686 2.6.16-18 Linux kernel 2.6.16 image on PPro/Celeron/PI


So if I didn't want linux-image-2.6.15-1-486, I would do (as root):
#> apt-get --purge remove linux-image-2.6.15-1-486

->HS


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to