Skip to content
OnMSFT.com
  • Home
  • About
  • Contact
  • News
  • How-to
  • Feature stories
  • Deals
  • Microsoft / office 365
  • Reviews
Menu
  • Home
  • About
  • Contact
  • News
  • How-to
  • Feature stories
  • Deals
  • Microsoft / office 365
  • Reviews
  1. Home
  2. News
  3. HOWTO: Compile Kernel in Linux

HOWTO: Compile Kernel in Linux

Ron Ron
August 22, 2019
2 min read

There are a few reasons why a user would want to upgrade his/her kernel. One advantage to compiling your own kernel is that it is tweaked for your hardware. When you use a distro like redhat etc the kernel you will be using was compiled for many diffrent hardware setups and there for it has many more kernel drivers etc loaded than it really needs. Another would be from the security prospective. With every kernel release there are bug patches for security etc. And the last one that maybee the distro your usings kernel hasent been compiled with support for your hadware, when you compile your own kernel you say what hardware support should be compiled in.

this guide is NOT for use by those who use redhat as redhat makes it a total pia to upgrade the kernel and it can muck up your system, just switch to slackware or gentoo. **should work w/ Fedora**

lets get started:

1. Fire up KDE/Gnome, open up a terminal and do “su root” then enter your root password.
2. Do “cd /usr/src”.
3. Issue “wget http://www.kernel.org/pub/linux/kernel/v2….5.tar.bz2”.
4. When thats done do this “tar jxfv linux-2.6.11.10.tar.bz2” to extract the kernel
5. Do “cd linux-2.6.11.10”
6. Do “make xconfig” if you are in KDE/gnome. if your are in a tty console or on ssh do “make menuconfig”.
7. Explore around the config tool. make shure you have gone threw everything. if you see something you want compiled in to the kernel just click on it and it should have a CHECK next to it, if it has a DOT next to it click it tell it turns to a check. when you get to “Device Drivers>Sound” make shure you compile ALSA and not oss. if when you reboot and sound dosent work recompile *go to step 5 and do everything past that* the kernel with both OSS and ALSA.
8.Issue a “make all && make modules modules_install”, if you get any compile errors report them here.
9. Once the “make all” command is done issue a “make install”.
10. do “cp /usr/src/linux-2.6.11.5/arch/i386/boot/bzImage /boot/linux-2.6.11.5”
11. Add the new kernel to your /etc/lilo.conf and then do “lilo” wich will write new config to your hdd
12. reboot and enjoy

if you encounter any problems/errors with anything report them here

Remember to update the commands with the link to the appropriate kernel download.

Share this article:
Previous Article Office 15 M2 Build 15.0.2703.1000 Leaked Next Article Kaspersky Lab to Support VMware vShield for Virtual Data Centres

Related Articles

Chrome tests Google Drive file uploads in the AI Mode compose box

April 14, 2026
Gemini image creation using right click desktop Chrome

Chrome lets you remake images with Gemini on desktop using just a right-click

April 13, 2026
Samsung Display crosses 5 million QD-OLED monitor shipments as demand grows fast, with new panels and strong premium market expansion worldwide.

Samsung Display Ships 5 Million QD-OLED Monitor Panels in Four Years

April 9, 2026

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Chrome tests Google Drive file uploads in the AI Mode compose box
  • Chrome lets you remake images with Gemini on desktop using just a right-click
  • Samsung Display Ships 5 Million QD-OLED Monitor Panels in Four Years
  • Intel Arc Pro B70 Teardown Reveals Blower Cooler and Early Board Design Details
  • Users Modify RTX 5090 Lightning Z Hardware to Unlock MSI’s Restricted 2500W BIOS

Recent Comments

  1. XxRIVTYxX on Intel Says It Tried to Help Before Crimson Desert Dropped Arc Support
  2. Gaurav Kumar on Chrome Prepares Nudge to ‘Move Tabs to the Side’ as Vertical Tabs Near Release
OnMSFT.com

The Tech News Site

Categories

  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Gaming
  • Edge
  • Teams

Recent Posts

  • Chrome tests Google Drive file uploads in the AI Mode compose box
  • Chrome lets you remake images with Gemini on desktop using just a right-click
  • Samsung Display Ships 5 Million QD-OLED Monitor Panels in Four Years
  • Intel Arc Pro B70 Teardown Reveals Blower Cooler and Early Board Design Details
  • Users Modify RTX 5090 Lightning Z Hardware to Unlock MSI’s Restricted 2500W BIOS

Quick Links

  • About OnMSFT.com
  • Contact OnMSFT
  • Join Our Team
  • Privacy Policy
© 2010–2026 OnMSFT.com LLC. All rights reserved.
About OnMSFT.comContact OnMSFTPrivacy Policy