If your new kernel works perfectly for you and you have no need for the older kernels and you are using lio you can delete /usr/src/linux-older.versions
rm -r /usr/src/linux-older.version1 /usr/src/linux-older.version2 ...
rm -f /boot/vmlinuz-older.version1 ....
in lilo.conf you should remove the sections for old kernels
Code:
prompt
timeout=10
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-current
label=linux
root=/dev/hda8
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-current.img
image=/boot/vmlinuz-old
label=linux_old
root=/dev/hda8
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-old.img
so it'll look like
Code:
prompt
timeout=10
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-current
label=linux
root=/dev/hda8
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-current.img
also get rid off if any /boot/initrd-old.version.img files /boot/System.map-old.version etc. And rerun lilo:
/sbin/lilo
Also /lib/modules/old.kernel.version can be removed as well