Gentoo Kernel Config | How I Configure My Gentoo Kernel

Gentoo Kernel Config | How I Configure My Gentoo Kernel

From popular demand, I created a video on Gentoo kernel configuration and how I configure my kernel. One thing I forgot to mention in the video is, you can use `lspci -k` on an existing system to see which kernel drivers are being used.

From popular demand, I created a video on Gentoo kernel configuration and how I configure my kernel. One thing I forgot to mention in the video is, you can use lspci -k on an existing system to see which kernel drivers are being used.

Find me elsewhere: Instagram: https://www.instagram.com/kamiyaa91/ Github: https://github.com/kamiyaa/

Late Bloomers by Rich Karlgaard: https://amzn.to/2DcmCLo Disclaimer, this is an affiliate link

Gentoo provides a variety of kernel sources to choose from. The most popular being gentoo-sources. I personally prefer vanilla-sources which is the Linux kernel without any 3rd party patches.

Kernel source code is located under /usr/src in gentoo. Kernel configuration is written to a file called .config (ie. /usr/src/linux-5.7.12/.config).

You can copy this config file around to keep your configuration. But to ensure the configuration is up-to-date, make sure to use make oldconfig whenever you are using that config on a newer kernel. Certain kernel options may not be visible in menuconfig. This is usually because the prerequisites for the option has not been satisfied. So make sure all requirements are met by searching for that option and reading what it is SELECTED_BY.

If you have drivers that require firmware such as wireless drivers or graphics drivers, you have 2 options:

  1. Compile them as built-in to the kernel. For this, you would need to go under Device Drivers) Generic Driver Options) Firmware loader) Build named firmware blobs into the kernel binary) and change its value to /lib/firmware. You can read more about it here: https://wiki.gentoo.org/wiki/Linux_firmware#Kernel
  2. Compile them as modules, which is what I do.

Under Raid/LVM options is actually the options required for encryption software such as dm-crypt. So if you are thinking of encrypting your data, enable Device Mapper Support under Device Drivers) Multiple devices driver support (RAID and LVM))

X86 Platform Specific Device Drivers are the drivers that enable special keys on laptops and other keyboards like volume keys, brightness keys, etc.

The FUSE kernel option is required if you want to connect android phones to your system via MTP protocol. You can read more here: https://wiki.gentoo.org/wiki/MTP

Hope you guys enjoy the video!

Music: Imagine by lukrembo Michikusa by PeriTune (Licensed under https://creativecommons.org/licenses/by/4.0/)

gentoo gentoo kernel

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

How To Secure Boot with Gentoo Linux

Microsoft has announced Windows 11 and with it new system requirements. One of the most problematic requirement is enabling secure boot. In this video, I will be going over how to get secure boot working on Linux.

How to Check the Kernel Version in Linux

How to Check the Kernel Version in Linux - The kernel is the core component of an operating system. In this tutorial, we’ll show you several different ways to find out what version of Linux kernel is running on your system.

Working with Kernels in TensorFlow

The prior SVMs worked with linearly separable data. If we would like to separate non-linear data, we can change how we project the linear separator onto the data. This is done by changing the kernel in the SVM loss function

Fast and Easy Way To Install Gentoo

In this video I talk about one thing I learned to do that made installing Gentoo much easier and much faster. No, its not some automation script. You will still experience the whole gentoo install, just with much less headaches.

5 Things to Install Post Gentoo Install

Learn 5 Things to Install Post Gentoo Install. In this video, I talk about the different packages I have installed that help with using and maintaining Gentoo.