<quote who="Costa, Todd (DMH)"> > Hi List members, > > I have just finished a custom kernel the debian way (I think, > "make-kpkg", etc, "dpkg -i"). And now I want to get rid of the old > kernel (references). And I am not sure if I should just delete them > with out asking first some experienced debian users.
another guy mentioned apt-get remove, but it may also be helpful to purge the kernel as well if required. what i do is dpkg -r kernel-image-some_version then dpkg --purge kernel-image-some_version theres a way to do it with apt too but from a quick look at the help portion i don't see it..maybe apt-get remove purge kernel-image-some_version purge usually takes care of the configuration files and stuff. not sure if the kernel image requires a purge off the top of my head but it cant hurt. also i usually rename the modules directory or remove it (the /lib/modules/2.2.whatever directory) nate