Install new kernel

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!
This info is for the MEPIS 2.6.15-27-desktop kernels available as of April 2007. These kernels were built for SimplyMEPIS 6.5 but should work fine with any 6.x version of MEPIS or the 6.0 version of Ubuntu.

Please check in Synaptic and use the latest version available there. A newer kernel may have a different number, for example 2.6.15-30. Kernel updates are announced at the site. If in doubt, ask at a forum. Make sure the kernel is provided by MEPIS, not by Ubuntu.

Architecture specific kernel

  • for 32 bit SMP machines with multiprocessors, multicores, or hyperthreading, you have the option of installing linux-image-2.6.15-27-desktop-smp
  • for 64 bit SMP and UP always use linux-image-2.6.15-27-desktop64-smp
  • for 32 bit UP machines with a single processor or single core you must use linux-image-2.6.15-27-desktop

Do not install older obsolete kernels, for example the k7 kernel that was available for 6.0! The 64 bit kernel is for 64 bit processors only. If you install a new kernel, then look for additional modules that match the kernel. For example, search in Synaptic for "2.6.15-27-desktop-smp" or "2.6.15" and install the modules you need. At the very least, you will probably want to install the alsa-modules so sound will work with your new kernel. The most important module packages include:

  • mepis-extra-modules
  • ndiswrapper-modules (if you need it for wifi)
  • linux-restricted-modules (includes, among other things, ltmodem for "winmodems")
  • madwifi-modules (for various atheros wifi cards)
  • alsa-modules (absolutely necessary for audio)
  • fglrx-kernel (if you have an ATI card)
  • nvidia-kernel (if you have an Nvidia card)
  • intel536ep-modules (for intel 536 modem chips)

Modify GRUB menu

Warning! The info contained in this following section pertains to older versions of MEPIS.
Check whether the /boot/grub/menu.lst has an entry for the new kernel. If it doesn't, duplicate the current entry and edit the copy to match the new kernel. E.g.:

title MEPIS at hda2, kernel 2.6.15-27-desktop
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-27-desktop root=/dev/hda2 nomce quiet vga=791

Install Kernel Headers

This is needed only if you plan to install software/drivers that need the kernel headers to get compiled.

Identify the current kernel with:

uname -r 

For the 2.6.15-27-desktop-smp kernel install the linux-headers-2.6.15-27-desktop-smp package and to make sure that you have a /usr/src/linux link to the right headers run this command as root:

ln -sf /usr/src/linux-headers-2.6.15-27-desktop-smp /usr/src/linux

FAQ | Main Page

Personal tools
In other languages