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

Meta Plans 10% Workforce Cut as AI Spending Rises

April 23, 2026

Instagram Tests New ‘Instants’ App for One-Time Photo Sharing

April 23, 2026
OpenAI launches GPT-5.5 with faster reasoning, improved coding, research gains, and a major step toward its unified AI super app vision.

OpenAI Launches GPT-5.5 With Stronger Performance and Push Toward “Super App” Vision

April 23, 2026

Leave a Comment Cancel reply

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

Recent Posts

  • Meta Plans 10% Workforce Cut as AI Spending Rises
  • Instagram Tests New ‘Instants’ App for One-Time Photo Sharing
  • OpenAI Launches GPT-5.5 With Stronger Performance and Push Toward “Super App” Vision
  • Meta Introduces Unified Meta Account System to Simplify Logins and Security
  • X to Shut Down Communities After Spam Surge and Low Usage

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

  • Meta Plans 10% Workforce Cut as AI Spending Rises
  • Instagram Tests New ‘Instants’ App for One-Time Photo Sharing
  • OpenAI Launches GPT-5.5 With Stronger Performance and Push Toward “Super App” Vision
  • Meta Introduces Unified Meta Account System to Simplify Logins and Security
  • X to Shut Down Communities After Spam Surge and Low Usage

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