Building a Custom Kernel on Arch Linux

preview_player
Показать описание
This tutorial demonstrates how to download the latest kernel sources, configure your custom kernel, build it, and finally install it onto your Arch Linux based system. We focus specifically on the process of building the kernel, but we also take a brief look at configuring kernel features as well.

Please post any questions you have in the comments and I will do my best to help.
Рекомендации по теме
Комментарии
Автор

Very useful video!
Now I am running my own custom kernel.
Thanks!

joir
Автор

This is a really nice learning resource, thanks!

ondrejmach
Автор

This works. I had a problem on Lenovo legion 7 16IAX7 with no sound on internal speakers. After a several days of trying to fix it I found a patch for the kernel and your video. So following the steps from the video I patched the kernel and speakers (to my very surprise) began play sound! Thanx a lot!

Btw, I used make with -j24 and all worked well. Took about 10 minutes to build the kernel

eidenrid
Автор

Thank you for make this very detailed step by step instruction video with explanation. It deserves more likes.

CmAektPjxrGAb
Автор

Thanks for the video! What I did wrong was I didn't create the initramfs file but I didn't see other people do it so I thought I didn't need to

fancywaifu
Автор

thank you, wonderful support for me :-)

gionibegood
Автор

how often would you recommend updating the kernel? I assume I could save my configuration file and apply that to a new potential kernel as often as I want to update..?

pyrokamileon
Автор

What about the corresponding Linux headers? Old, existing headers are now basically the interface to that new kernel

leahblack
Автор

Hello, great video.
I have questions:

My current amd kernel (I have intel-i5-13500 and RX6700xt) does not show my cpu temp (in kde widget and sensors command), I see its missing CORETEMP module.
Based on your video I found out its coretemp module is not set (CONFIG_SENSORS_CORETEMP).

Do I need to get the source and build it with this update in config?
or
Can I modify existing kernel (installed linux-amd) with CORETEMP set? also should it be 'm' or 'y'?

kirangeorge
Автор

For some reason, this didn't work for me. everything compiles fine, but I have a black screen when I boot with the new kernel

melissali
Автор

After updating kernel i have to repatch it again? or changes will be present?

lob
Автор

can i make both debian and arch packges i know i can use 1 after other like make -j4 && make deb-pkg but can i make both at the same time because i have like a slow laptop

clerickx
Автор

When using "make modules_install -j8" I'm getting the following error massage:

`sed: can't read modules.order: No such file or directory
make: *** [Makefile:1425: _modinst_] Error 2`

Do you know what's the problem?

godnyx
Автор

Why did you comment the configuration related to debugging rather than choose no N

abdallahrashed
Автор

I installed gentoo a bit ago and wanted to see about compiling my own kernel on arch and wow it is a lot more annoying to do this on arch then gentoo

killertigergaming
Автор

file not found: fsck.btrfs

what's the deal? i enabled btrfs support, if that's the problem

EDIT: you need to install btrfs-progs when installing the kernel on a btrfs filesystem (also you need linux-headers as well to compile the modules correctly).

gassug
Автор

ouyeah? Build custom kernel on Arch and after that rebuild all packages with new kernel headers. Very idiotic action under every precompiled Linuxes.

vit.c.