♫musicjinni

Gentoo Kernel Config | How I Configure My Gentoo Kernel

video thumbnail
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://instagram.com/jeff.no.zhao
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 Kernel Config | How I Configure My Gentoo Kernel

Gentoo Install Series - Part 4 - Configuring the Kernel

Full Gentoo Installation - Big Brain Edition

Gentoo Linux: Updating your Kernel

The Simple Way To Install Gentoo Linux

Gentoo Installation Guide 0x1 | Minimal EFI_x86_64 system

How to compile a custom Linux kernel

Installing Gentoo Linux in Virtualbox (Part 2)

LIVE Gentoo 2, vbox install + gui!

gentoo сборка ядра | общие сведения о сборке и использование команды genkernel

Installer Gentoo en UEFI + LVM !

Step by Step Linux Kernel Compilation

Installation détaillée de Gentoo sur un Dell Optiplex 780 ( + personnalisation noyau linux)

Linux Kernel Programming 01: Compile and Boot

Vidéo TUTO : Installer Gentoo facilement 04/07/2016

Peut on installer une Gentoo en moins de 30 minutes ?

Gentoo avec moins de 20Mo de RAM ?

Linux From Scratch 7.5, with Ben Fitzpatrick Part 3 edited

آموزش جنتو - قسمت دوم

Сборка ядра Linux

Disclaimer DMCA