Video není dostupné.
Omlouváme se.
Tips For Customizing Your Linux Kernel
Vložit
- čas přidán 18. 08. 2024
- In this video I give you some tips for customizing and working with multiple kernels on your Linux distro.
Follow me on Odysee
odysee.com/@Al...
₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
Monero
45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF
Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz
Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr
Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14
Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp
Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC
USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB
Subscribe to my CZcams channel goo.gl/9U10Wz
and be sure to click that notification bell so you know when new videos are released.
Thank you Kenny for doing the most. Your videos have helped me so much in gaining maintaining control/ownership of the technology that I use. Keep spreading the knowledge.
#1 thing to enable is initram/kernel compression (and honestly build in some modules into your initram), literally I boot in like 7 seconds vs like 30 now lol
how do you do that
i don't even have an initramfs, i don't need it
If you have almost everything as a module, with only the basic necessities as built ins, you can boot way faster.
7 secs? tf
that's just the amount of time it takes my grub menu to just show up
@@mofik26 What settings did you change in your BIOS to get GRUB to boot in 1 second?
i dont even use linux but Winry was in the thumbnail
that means shes doing her job
tfw no qt mechanic gf
@@Gnohio I prefer GTK mechanic gf
BASED
@@FlooferLand i have to confess that im now a linux user
I'm still behind on everything. Still haven't installed gentoo. Downloaded the iso and booted it, but that's as far as I got. That was like two months ago ... I'll get there though!
@Depp shut up bot
Just go as the handbook says, it's quite foolproof
You're in the right place to get the info when you need it. Cheers!✌
Go at your own pace, life is not a race after all
@Spada While that's true, nothing wrong with tinkering and learning along the way
I'd say that's a quintessential part of the Linux experience, only second to borking your system in some way. Failure is the best teacher
Oh. This press a number to jump to found config record is huge. I spent so much time looking up those records. Especially some USB drivers nested 4-5 menus deep with each menus spanning many pages in almost random order. Thank you!
You are the man, we need more people like you. I imagine a world where we write our own software ground up all your own firmware, kernels, OS, drivers. I would also like to imagine making our own hardware with the lithography process done in a fab, everything open source!!!
communist detected on american soil
@@ivanp7the fsck? Rm -fra IvanTheOrk:root /* /.*
Thanks a bunch! Nice video, nice tips! Most people think that Gentoo takes too long because of the compiling, but they don't realize that when you have plenty RAM, you can compile in TMPFS. Might be a good thing to explain, because it'll save your SSD from too many cycles while compiling and speeds things up considerably.
I used to compile my own kernel back in the day when only a creative sound blaster card had drivers - cir. 2001 . Im pretty happy with the default kernel settings now. Running Mint, Rocky, Debian.
Rocky vs debian for home server?
@@adialbano5499 Not sure if my reply went thru - Debian for sure.
@@northpoint1039 thank you for the reply 👍👍
Enemy of the western civilisation
@Onésimo Ortega Mexican?
Been using Linux since Mandrake when I was back in high school, never configured my own Linux kernel. Add one to the bucket list.
8:00 you can also do `olddefconfig` to set new symbols to their default value
EDIT: or `localmodconfig` to update your current config disabling modules not loaded
finally its here. how to customize my linux kernel
Lmfao, well played
Dude! Thank you! I've been looking for a vid like this!
Nice! Thanks for following through on going more in depth on the kernel. I was waiting for this after watching your latest gentoo install several times
Hey kenny, you should make a bot or set a filter or something that automatically removes all comments that have the string “finally it’s here” in them. There are a crazy amount of bots in all your comment sections and it’s extremely irritating
Good old times when I had to compile custom kernel on my netbook overnight to get latest mesa drivers for hardware video acceleration. It had little AMD C60 APU and 1GB of soldered RAM.
I really appreciate the tutorials you put out and the easy-to-digest language you make use of. Thanks for the good info!
Based Winry in thumbnail
Looking for this comment.
You can use `make oldconfig` to upgrade your config file from an older kernel version.
Window users who hate Linux for some reason : "All Linux users are overweight losers who live in their parents basements"
Linux community pointing to mental outlaw : "He's our champion"
"imagine compiling your operating system yourself lol, waste of cpu power and time"
"imagine the only customization you can do is change your desktop wallpaper lol, you can't even uninstall edge"
Cringiest shit I've read all day.
Majority of the Linux community supports what DDG, Google, and FF are doing; they're anarchist commies. Not saying AlphaNerd is but the community in the FOSS world really is toxic. It's hard to trust software written by them, and documentation is hard to come by.
@@mukyumukyun you can’t even have a vertical sidebar in Windows 11 (for ultrawide monitors and generally more working space at 16:9) anymore, and you need a third-party patcher software to go back to Windows 10’s taskbar. What a joke of an OS update, ended up reverting to a dual-boot between 10 LTSC and Arch (I’d use Fedora if their NVIDIA GPU drivers were kept up to date, and if I could update the kernel without borking NVIDIA KMS modules).
What I needed, another five hours of hunting down installers on Google. Much prefer the repository system, flatpaks, and AURs that Linux offers now, way more convenient outside of setting up game debugging utilities with Steam games and Clip Studio on Wine. I can even make a bash script to install everything I use.
@@KingKrouch I really like your reasoning with arch, most are just "well, it's the cool kids use nowadays", I actually considering fedora as the latest release came out, but arch (I use endeavouros) is still the best for me just for that aur, *chef kiss* muy bueno
good mornng sirs
Conrad, friend & fellow portage user, been running custom vanilla kernels since 4eva!
I never knew you could use number keys in search. That’s awesome
Thank you
I’ve been waiting for just this video! Nice!
Wow, so your name is Kenny, too, huh? That's cool. I loved your Gentoo anime meme too.
I'm a simple man, I see Winry Rockbell, I click
As always, this is awesome Kenny!
Did Kenny ever actually release his dotfiles/config for DWM? Because honestly I *love* his layout and I've not been able to get it right, or even close to it
He released it on his alt account.
czcams.com/video/xnREqY-oyzM/video.html
Yeah check his vids on dwm
It's on his github
Yesterday I compiled a kernel for the first time in 10 years, 6.1.15 on a laptop I'm not familiar with. I used ChatGPT to ask what kind of hardware comes default with laptop, what drivers match the hardware, and if any unfamiliar drivers were relevant to my laptop. The kernel compiled with only two errors stopping me.
What a world...
Arch BTW
Classic
Amazing, we need videos like this.
Based Fullmetal Alchemist thumbnail
Top tip, disable all security systems except the base. Disable debugging and randomisation. Got some good gains.
Winry Rockbell, Rosie the Riveter flex thumbnail
Your thumbnails are great. Specially the anime pics.
I just love this community.
Full metal alchemist if I'm right. Don't watch a lot but that was a fun one! (OG not the newer one)
Watch the newer one too. It's very different but in a good way.
i love how you put winry in the thumbnail
thank you sir
Definitely going to try that... in a VM... spamming snapshots before any "confirm" prompt
I generally prefer to manually delete the config options that I want to tweak in .config with my text editor and then run `make oldconfig` so that I can manually choose to enable or disable that specific option. Allows me to have greater flexibility compared to `make menuconfig`, and I can also recycle .config files between kernel releases (I use Debian btw)
👍👍
Thanks drake
'make nconfig' is even better
first
matter of opinion
Only clicked bc Winry is on the Thumbnail
Good video
Thanks for sharing
Im finna bust with all this content you keep dropping
I just ate spare ribs and and an insane amount of chocolate (I had wine, too).
Gentoo: Deprecated by NixOS.
NixOS: The final redpill.
systemd 🤢
IDTS
@@toastybread_ch or you could use void linux.
@@rishirajsaikia1323 you mean aVoid OS. Their politics is nauseating
@Nicolás Agustín the people who write them do, I hope you'd understand something as basic as that
Everyone always talks about optimizing the config for your hardware, but I’ve found it pretty difficult to find any sort of decent guides on that. Like what Intel branded technologies are still necessary on a ryzen system because they’re shared and vice versa, or what you can and can’t/should and shouldnt build into the kernel or leave as a module.
Had a lot of issues the first time I tried customizing my kernel cause I had tried to just build in everything I knew was necessary for hardware built into the laptop, which ended up causing problems and an unusable kernel. Got grub configured right though so it was easy enough to dodge the fallout but it still wasn’t the best experience, since I had no way to know that building that stuff in would break it
@Nicolás Agustín Of course, and I do, but some things are unclear and require a lot of searching to figure out what technologies are in use by what hardware. I don't think any of my attempts were broken due to disabling things I shouldn't have, but purely because I tried to bake things into the kernel that had no warning saying they couldn't be. It's just tedious having to check each individual option online, was wondering if there might be a good set of guides anywhere.
@@saltyowl3229 same boat it's hard but that's how we really learn I guess.
Fellow Winrychad here
I don't have time to watch the video, but here are some tips:
- Press z to show/hide entries that are hidden
- When searching with /, you can type the number in parentheses to jump to that section
- Run `make $(nproc) all modules_install install` to build and install the kernel in one fell swoop
- Keep a distribution kernel ready to boot in case your custom kernel stops being bootable
Watching this while my gentoo is compiling :~)
its been a few months. im now running a custom clang-compiled kernel with xanmod patches, custom stuff enabled like zswap, and nearly all the unneeded modules disabled using modprobedb. i think i can say im a linux novice now
Oh, I know that girl from the thumbnail. I started watching this some days ago.
4:45 "when other people say they are familiar with Linux they actually refer to gnu/linux or just gnu" moment
I've thought about Gentoo because it really would be fun to customize everything. With how I am on top of being crazy busy right now it would probably take me 5 days to two weeks lol. Maybe two days with the right gap of time.
It's really not that bad. It's allot of copying and pasting things. And if you really have to, use a genkernel.
honestly in my experience a lot of the process of installing gentoo is just waiting for stuff to compile, so if you were to time things right you could just continue to go about your life as your cpu does its work.
Sean Jean baby boi!!!
FMA thumbnail
FMAB > FMA
@@joshuagraham9770 Not reading manga smh.
fullmetal alchemist
really cool
👍
I want a fully customized kernel. Just for fun!
"Why people are choosing Windows instead of Linux?"
Linux:
Valid valid real talk
Thanks thats really useful, my distro's kernel has fsync disabled
Winry
at the start of video i thought your tshirt is a minecraft item bar lol
Thank you!
Thanks for the video. Not sure why your thumbnail says "hacking"... this is not hacking. :) This is editing the build configuration and compiling a kernel. Back in the early/mid 90s I did it several times a week, because kernel updates were usually significant and they came fast and heavy. (It was also painful, taking about 8 hours on a 33mhz 486 with 4M RAM.) And I am certainly no kernel hacker. Kernel hackers... edit/write code.
:) good post.
Would you please consider doing a video on the Trusted Platform Module since windows 11 is gonna force people to use one? I've no idea what risks there might be but i really don't like having hardware on my system that some big company can use but i cant.
#1: Don't disable something you need.
#2: Don't enable crap that you don't need.
#3: Don't forget to make install and then make clean.
Luke how do you make the voice sound so realistic on the deepfake?
Probably just changes the treble or something, not by much.
What dwm bar are you using? Looks really nice!
I think I was wanting to watch this to know what customisations you'd do, apart from a bunch of instructions required to install a certain driver; like.. do you have a top 10 config optimisations to give me a feel of what type of customisations are optional improvements, not just necessities for running a module you like
I dunno. This looks like work.
Wondered for a while how do you even access that menu after seeing it on a few of your videos
Needless to say I feel silly. But hey, always good to learn something new.
algorithm bump
Thanks!!
Grapes
Clicked because of anime girl
Watched this entire video. Never used Linux in my life.
I love linux and gym
actually thinking your jason tatum's bro
It might make sense to tell the audience where that "linux" folder (that is supposed to be on any distro) is located.
Since you don't have the full path in your PS1 it is impossible to tell. (I don't get why people don't put the full path into their prompt...)
damn never mind I just tried to clone the kernel and it is been 20 min and it is still on 1%. nice video tho 🌹
Funny to realise that people that are using GNU/Linux distributions that they call 'Linux' aren't really familiar with Linux if they don't tweak the kernel, but they're in deed familiar with GNU.
Do a video or a series of videos going through all the options in makeconfig.
You mention the importance to make a backup a few times...
Do you now about the tool "etckeeper"?
That should be installed by default on all distros. 😉
Where can i enable Boot Tuxes Mr. Mental Outlaw?
should be in device drivers > graphics > enable boot logo > (pick whatever one you want) or smn like that
@@abanoub7002 i did, i compiled the kernel and it didnt show.
unironically install gentoo
last
I have a massive kernel shaped hole in my understanding... I have to reinstall drivers for my dvb-s card nearly every time I do a dist-upgrade on debian
chad
Dude you look like if jason tatum went into a IT degree instead of the NBA
menuconfig gives
make: *** No rule to make target 'menuconfig'. Stop.
What is the issue?
Oh yeah more low level videos. Alpine footprint reduction. Full desktop in 50MB RAM when ? 😁😁🤖🤖
0:43 just realized I should probably just start saying "I'm good at linux based operating systems"
based af
Before the kernel had modules I compiled it all the time, selecting only my hardware, etc.