Ubuntu 10.04 LTS full /boot/

bootUbuntu

I've got a Ubuntu server 10.04 that have been running since 10.04. Today when apticron mailed me about new packages the installation of a new kernel update failed due to a full /boot partition. Looking into it I have 226 MB of files in /boot and about 15 different revision of the kernel.

For each version I have the following 6 files:

vmlinuz-2.6.32-21-generic-pae
vmcoreinfo-2.6.32-21-generic-pae
System.map-2.6.32-21-generic-pae
initrd.img-2.6.32-21-generic-pae
config-2.6.32-21-generic-pae
abi-2.6.32-21-generic-pae

Is it safe to just delete the oldest? Or is there a "proper" method of disposing old versions.

Best Answer

What does dpkg -l | grep linux-image show?

Once you get the kernel names you can just apt-get purge linux-image-version Just make sure you do not purge your current kernel. The results can be unexpected.