First look for what kernels you have installed.
Code:
rpm -qa |grep kernel
it should give you for example:
Code:
kernel-2.6.17-1.2187.fc6
kernel-devel-2.6.17-1.2187.fc6
kernel-2.6.18-1.2798.fc6
kernel-devel-2.6.18-1.2798.fc6
kernel-headers-2.6.18-1.2798.fc6
Spot the older kernel you want to remove, in this case the 2.6.17.....
Use yum to remove it:
Code:
yum -y remove kernel-2.6.17*
That should do the trick.