Deleting old /boot files

Roby electricalsciences at adelphia.net
Sun Jun 3 19:16:39 UTC 2007


Derek Broughton wrote:

> Alex Janssen wrote:
> 
>> Does anyone know why I should not delete all but the two most recent
>> copies of the boot files in /boot, i.e.; abi-, config-, initrd.img-,
>> system.map-,vmlinuz-?
>> 
>> The directory list from my /boot:
>> -rw-r--r-- 1 root  239770 2005-10-10 09:16 abi-2.6.12-9-386
>> -rw-r--r-- 1 root  266619 2006-05-23 12:56 abi-2.6.15-23-386
> ...
> 
> No reason at all, but it's a lot easier (and cleaner) to use apt (apt-get,
> aptitude, synaptic, etc) to do it than to just delete the files in /boot.
> 
> # sudo aptitude purge linux-image-2.6.12-9-386
> 
> ...etc, should do it.

Bonus: The package manager will remove the old modules in /lib/modules
as well.  Now if only I could get it to clean the garage!





More information about the ubuntu-users mailing list