Lập Trình Linux

Custom Linux Kernel | Walkthrough Guide

This video goes over using a Custom Linux Kernel. This will show you installation and go over some of the pros and cons of running a custom Linux kernel.

Article Walk-through:

💻 Recommendations 💻
– My Windows Anti-Virus ➜
– My VPN Service ➜
– Website Recommendations ➜

🕹 Live Streams Monday & Friday 🕹
– Twitch ➜
– YouTube Archive ➜

🖥 Contact me 🖥
– Patreon ➜
– Official Site ➜
– Twitter ➜

🚑 Need Help!? Ask our community! 🚑
– Discord ➜
– Reddit ➜

💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support!


Âm Nhạc
Sáo Trúc, Đàn Tranh Nhạc Hoa Bất Hủ Không Lời Hay Nhất – Nhạc Buồn Giúp Tĩnh Tâm Nhẹ Nhàng Thư Thái
Daniel Radcliffe Raps Blackalicious' "Alphabet Aerobics"
🔥Vũ Khắc Tiệp lên tiếng xin lỗi và nhận sai sau phát ngôn phản cảm gây sốc ?
  • In Arch, you can do a quick sudo pacman -S linux-zen to install the Zen kernel.

  • Personally I'm using the Xanmod custom kernel. From what I've gathered it pulls in some kernel patches from Intel's clear Linux and the like. And my system feels a bit more responsive.

    My Ubuntu 19.10 install seems to be running fine so far. Only major change I had to do was wipe out my swap partition.

  • would this be worth doing for embed use basically if i was making a nas or a router ect

  • Not going through the configuration process made me sad. Is Monolithic still an option?

  • Aren't you able to press shift/escape to show the grub menu on Manjaro Linux?

  • Dual core laptop, 3-hours, just for fun!

  • This is not a good tutorial. There's missing steps that he skipped over.👎 Do it proper and start from the beginning step by step. You don't have to show it compiling since it takes so long.

  • why did you build the zen kernel is in the repos

  • yeye

    Author Reply

    There's a custom kernel called pf-kernel, you can look up benchmarks for it, in gaming it seems to have significantly lower CPU usage and be 5-15 FPS faster in most games with MUCH better 1% and .1% lows, as well as it just being much more stable. https://gitlab.com/post-factum/pf-kernel/wikis/README. It's fairly easy to install.

  • Ok Storytime:
    After doing a lot of research I was using Arco linux for a year. The Arco linux team provides you ISO's for probably all the desktop environments that exist in the linux world. Though XFCE seemed to be the favourite for the users. You can also create your own ISO with the softwares and utilities that you want. How cool is that !!!.
    The Arco linux team is one of the most helpful teams in the world. it will blow your mind. You could be having the most silliest of doubts and they will still clear it for you. You can also join their discord channel. They help you on forums, discord everywhere. Plus founder of Arco Erik Dubois has his own youtube channel where he guides you to do many different things like customize your OS, install different softwares, install different kernels, upgrade your systems so and so forth. So really this is so amazing and that too for free. If you tip them ofcourse its great but they do all of this for free. Its unbelievable.
    Here comes the twist. I have a HP convertible laptop with i7, 32GB RAM, 512GB SSD. On the mainline kernel the machine used to work like a beast but almost every other day I used to get a Freeze, Segfault all the time. Erik and everyone advised me to use linux-lts kernel. I switched to the linux-lts kernel. But it behaved the same. A freeze every alternate day it was getting frustrating.
    One important observation was that my RAM usage never ever crossed 8GB, though i had 32GB. I had conkies installed and frequently used to check the usage and it never crossed 8GB.
    Then one fine day I said lets check out Linux zen kernel whats there to loose my machine is as it is shit. And then whoa !!! my machine ran for like 14 days without restarting. And I was consistently utilising 22-25 gigs of RAM using 3 different workspaces with atleast 2 browser windows(with minimum 20 tabs open in each) open, 2 IDE's, lots of terminals open on each workspace. But eventually the freeze did come and I had to reboot. but it was really nice to be able to use machine without having to worry about a freeze every other day.
    One fine day my machine did not reboot. I had to rescue it using arch-chroot. Everything was going fine. After a few weeks i again faced a similar situation and this time the error was really not recoverable from. That day I really burnt my fingers. I realised I need a really stable system without anything going on. I decided that i will never come back to Arch. Its not that I did not like Arch but the system was too unstable for my liking. It taught me many things. This is strictly what I faced on my particular systems with the kind of hardware I have your experiences might be different.
    But the thing I am writing this is because of the zen kernel it really is a beast of a kernel. I installed POP OS, but even that was freezing from time to time. The installation got corrupt. After that like a good boy I installed Linux Mint 19.2. Mint just works. I do face freezes here too but they are like once in 3 days. Its really polished and Mint developers are doing and excellent job no wonder this distro deserves to be right at the top. Everything just works out of the box. If you want any application thats not in the Ubuntu repository you bound to find it in the Snap store. Snaps really is revolutionary concept. If cant find it in Snap Store they definitely have a deb file for you. Easy. And you keep getting updates for all of it. So I am relatively happy.
    The catch is that my RAM consumption is still limited to 8GB of RAM never see it crossing 8GB. So lets experiment. The power of linux !!!!!

  • your background is super cyberpunk bro 🤘

  • Do you have a video about holding a LTS kernel and trying out the new kernel in combination with proprietary nvidia drivers?

  • شكرا

  • Compiling the kernel under Arch never takes over an hour on my gen 3 Core i3. Strange what I hear at 3:50, as I doubt using only efficient software (eg our desktops are differents) makes any more than a tiny portion of this difference.
    Also Debian is more stable than Arch. hmmm, untill you want or need to tinker Debian to get the juice of your system. Then Arch is definitively more stable in my experience 🙂

  • Black cat china hacking windows. Never tr illegal custom Linux Kernel. No future for Linux custom kernel. Do more illegal Code will stop coming reason you.

  • which kernel is great for gaming?

  • can you make a video where you talk about and show the look differences between gnome, kde, plasma. cinnamon, lxqt, lfce and the others?

  • My brain runs on ghostOS unix.

    Its not Windows compatible.

  • gwguxgwgux

    Author Reply

    I haven't built a kernel form source since the late 2.4 and early 2.6 days. Back then it was sometimes necessary to get a working system though it sucked to have to manually stay on top of kernel patches and having to keep the standard kernels from the distribution from getting installed. Sure you can get some performance out of it, but not enough to be a practical use of my time so after the distros starting baking in the correct drivers for my hardware I stopped building custom kernels. Nowadays it's more for hard core enthusiasts, people who want to learn, and people working on projects where it makes sense to do so.

    That said, building a custom kernel from the source on kernel.org is still a right of passage in learning all things Linux so it's a good project to do at least once. If nothing else it'll make you really glad for the developers of you favorite Linux distros since they do have to keep up with it to give you the binaries for the updates.

  • Rocking Linux-Libre to this day, awesome 🙂

  • Great, the guy just compiled and installed a package on his PC.
    PS:You do realise that Manjaro needs a handful of patches to make a Arch kernel to boot, ryt?

  • You should really check out the kernel selecting gui pack that comes with mxlinux, Chris.
    Thanks for your videos, they are super helpful.

  • To me this video was a bit like click bait because I thought it was about MAKING a custom kernel not running a command that compiles a kernel you downloaded.

  • when i tried to build a custom kernel for debian (that was 10 years ago, so i don't know exactly how i started that anymore), there was an ncurses based menu with DOZENS of options to choose, what actually would be in the kernel and what would be left out… and i have to say that i didn't know what the majority of those options did (maybe except the driver section). i understand that an explanation video of that would take far too long to make and very long to watch, but if you maybe know a link to an (preferably understandable ^^) explanation of all that stuff, i would appreciate it if you could share that with me/us. thanks 😉

  • Maybe you can also try the fsync kernel made by Valve for games. There is many game that run better when fsync is used instead of esync.

  • Compiling a kernel takes a while if you compile crap you don't need. The trick is to configure the kernel to only include what you do need. And that takes a really long time. But it is the only way to derive any benefit from compiling your own kernel. Run the command make menuconfig I'll see you in a few days!

  • Some things need to be built in, not as modules