Removing old and unwanted kernels
From TrustixWiki
If you use swup manually or have configured swup to do kernel upgrades automatically (the default with TSL 3), you will after some time find that your system has several kernels (and perhaps kernel-sources) installed. How do you remove the old and unwanted kernels?
Good news, its easy. First, find all kernels installed on you system:
rpm -qa kernel*
Second, descide which you don't want. You would probably want to remove all except the two latest versions. In TSL 2.2 the newest is linked agains vmlinuz and the second newest is linked against vmlinuz-old, both which are used in grub config. In TSL 3.X all kernel versions is listed in grub config. You will have to remove them manually using rpm -e <package>. You may enter multiple packages. Example:
rpm -e kernel-2.4.25-7tr kernel-2.4.25-8tr
If you get an error saying error: "kernel-<version>" specifies multiple packages" you may have to remove the kernel by adding a --allmatches option to the rpm command:
rpm -e --allmatches kernel-2.4.25-8tr
