1. Upgrading a Kernel Using Binary Packages

Before diving deep into kernel compilation from sources, we will detail a simple procedure when you just want or need to update your kernel using binary RPM packages compiled for your version of Mandrakelinux. The example will assume the new kernel is kernel-2.6.10-5mdk and the old (current) one is kernel-2.6.10-1mdk.

  1. Install the New Kernel. Issue the command: urpmi kernel-2.6.10-5mdk in a terminal window. If you do not know the kernel version, just issue urpmi kernel and select the appropriate kernel for your system from the displayed list.

  2. Verify it Works. The just installed kernel is made the default one. Also, a new entry will be available in the bootloader (LILO, GRUB, ELILO, etc.) menu, named something like 2610-5. Reboot your computer and select that entry to boot with the new kernel. Perform all the tests you consider necessary to make sure the new kernel works correctly.

  3. Uninstall the Old Kernel (Optional). Once you are sure the new kernel works in your computer, you may want to remove the files related to the old kernel. To do so, issue urpme kernel-2.6.10-1mdk in a terminal window. The bootloader configuration will be automatically updated.