Kernel Update Procedure
Recent Mandriva Linux releases have made it extremely easy to update the Linux kernel packages. To automatically pull in new kernels as they are made available via updates, ensure you have the kernel-[flavour]-latest package installed (i.e. kernel-desktop-latest). You may also likewise install the kernel-[flavour]-devel-latest package, which will always pull in the latest -devel package for the kernel.
Having both of these files installed will always pull new kernel packages via urpmi or MandrivaUpdate. Old kernels are not removed and can be booted into via GRUB or LILO if required.
To remove an old kernel you no longer require, you must use the entire kernel package name. To find out the kernel names, use:
# rpm -qa kernel\* | sort kernel-desktop-2.6.27-0.rc7.5.1mnb-1-1mnb2 kernel-firmware-2.6.27-2mnb2 kernel-headers-2.6.27-4mnb2 kernel-server-2.6.27-0.rc7.5.1mnb-1-1mnb2 kernel-server-2.6.27-0.rc8.2mnb-1-1mnb2 kernel-server-latest-2.6.27-0.rc8.2mnb2 # rpm -e kernel-desktop-2.6.27-0.rc7.5.1mnb
In the above, the package name is kernel-desktop-2.6.27-0.rc7.5.1mnb; the release (1-1mnb2) is not required to remove the package, although it can optionally be included.

