LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > zeebra
User Name
Password

Notices


Rate this Entry

Configuring and compiling a Kernel "the old way"/KISS way..

Posted 02-14-2019 at 02:03 PM by zeebra
Updated 02-14-2019 at 02:11 PM by zeebra (style)

Ok, so the previous entry became long and complex. So here is a KISS version of the post:

How to configure and compile a Kernel the easy, generic way. Core procedure.

1. Download Kernel --> /usr/src

2.
Code:
1# cd /usr/src
2# tar -xvf linux(x).tar.xz
3# cd linux(x)
4# make clean && make mrproper
(#(cp ../config ./.config)
6# make menuconfig
(save)
7# make -j3
8# make modules && make modules_install
9# make install
3. Reconfigure bootloader

4. Reboot into new Kernel && test/verify


Anyone and everyone can configure and compile a Kernel.
Posted in Uncategorized
Views 495 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Hint. Many distroes is missing the appropriate c-devel packages, including ncurses (menuconfig) and some devel-libs to be able to do this. You have to work out the quirks for your distro.. Even things like GCC and make..
    Posted 10-04-2020 at 06:27 AM by zeebra zeebra is offline
 

  



All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration