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!
@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
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
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!
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
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.
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!!!
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.
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
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.
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"
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
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
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...
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)
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
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
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.
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.
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
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.
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.
All I know is I want to add -march=native but I'm not sure if I need to export a variable just in the terminal, or edit a flag in the generated Makefile or what.
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...)
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.
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 have been trying to edit my .config file for the last 2 days. It is so frustrating. I read the book linux kernel in a nutshell, and have compiled the kernel like 10 times. It shows up in grub and then when it gets to Loading initial ramdisk_ ...it does nothing...so I start over. I just want to edit the .config file to enable /proc/config so i can install a read/write UFS module. I tried to use make oldconfig to keep my current working config settings, yet nothing is working. 8 hours staring at compiling and trying again is soooo frustrating.
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
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. 😉
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.
How to configure the kernel when it is going to be hosted as a virtual machine? I suppose menuconfig options on hardware are useless. Is there a link to a comprehensive guide? Apart from gentoo instructions.
None of the function keys is opening my buos anymore :( And i have to access it bc my kernel updated to a unstable version so my internet doesn't work anymore (at least thats what the ibternet is saying) :(
I only just gave up trying to get my first gentoo install to work with a custom kernel. I'm thinking maybe Luke smiths deepfake might be compromised by the glowies.
Hot take: customizing your kernel isn't like customizing the rest of your Linux system. It's generally just a hurdle to getting to actually getting a running system. That's not to say it's not a worth while endeavor. Just that it's not as impactful for how much of a pain it can be.
yeah i always start with a distribution kernel initially and compile a custom kernel later for this reason. i weirdly enjoy configuring and compiling a custom kernel, but not when im super tired and just want my system to work for the time being
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.
I recently had an issue where my oldconfig had a problem being carried forward. On boot, devices would not work, no USB, decompressing packages at boot failed. Took forever to find the problem. The problem was that updating the config disabled NUMA support. Really stupid that they didn't carry that forward more carefully.
Please make a video of how to use that .config with savedconfig with the gentoo-kernel package. This is so well thought out on gentoo, I really think we should spread the word
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
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.
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
#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?
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!
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
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.
Been using Linux since Mandrake when I was back in high school, never configured my own Linux kernel. Add one to the bucket list.
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 /* /.*
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?
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
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.
You can use `make oldconfig` to upgrade your config file from an older kernel version.
Based Winry in thumbnail
I really appreciate the tutorials you put out and the easy-to-digest language you make use of. Thanks for the good info!
Conrad, friend & fellow portage user, been running custom vanilla kernels since 4eva!
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
I never knew you could use number keys in search. That’s awesome
Thank you
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.
ruclips.net/video/xnREqY-oyzM/видео.html
Yeah check his vids on dwm
It's on his github
Your thumbnails are great. Specially the anime pics.
I’ve been waiting for just this video! Nice!
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...
Wow, so your name is Kenny, too, huh? That's cool. I loved your Gentoo anime meme too.
Definitely going to try that... in a VM... spamming snapshots before any "confirm" prompt
Amazing, we need videos like this.
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)
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
I'm a simple man, I see Winry Rockbell, I click
good mornng sirs
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.
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
As always, this is awesome Kenny!
Thanks drake
Im finna bust with all this content you keep dropping
i love how you put winry in the thumbnail
Based Fullmetal Alchemist thumbnail
I just love this community.
Top tip, disable all security systems except the base. Disable debugging and randomisation. Got some good gains.
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.
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 :~)
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.
Winry Rockbell, Rosie the Riveter flex thumbnail
Thanks for sharing
What dwm bar are you using? Looks really nice!
Thanks thats really useful, my distro's kernel has fsync disabled
thank you sir
4:45 "when other people say they are familiar with Linux they actually refer to gnu/linux or just gnu" moment
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.
8:10 this is not the reason. for the .config file from an earlier kernel version it does not matter at all how those menus look like in menuconfig.
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
0:43 just realized I should probably just start saying "I'm good at linux based operating systems"
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
@@p4trickb4tem4n 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
All I know is I want to add -march=native but I'm not sure if I need to export a variable just in the terminal, or edit a flag in the generated Makefile or what.
Good video
"Why people are choosing Windows instead of Linux?"
Linux:
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...)
Oh, I know that girl from the thumbnail. I started watching this some days ago.
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.
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
'make nconfig' is even better
I have been trying to edit my .config file for the last 2 days. It is so frustrating. I read the book linux kernel in a nutshell, and have compiled the kernel like 10 times. It shows up in grub and then when it gets to Loading initial ramdisk_ ...it does nothing...so I start over. I just want to edit the .config file to enable /proc/config so i can install a read/write UFS module. I tried to use make oldconfig to keep my current working config settings, yet nothing is working. 8 hours staring at compiling and trying again is soooo frustrating.
Do a video or a series of videos going through all the options in makeconfig.
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
at the start of video i thought your tshirt is a minecraft item bar lol
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. 😉
menuconfig gives
make: *** No rule to make target 'menuconfig'. Stop.
What is the issue?
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.
Only clicked bc Winry is on the Thumbnail
I want a fully customized kernel. Just for fun!
what is the distro that you are running in the video????
How to configure the kernel when it is going to be hosted as a virtual machine? I suppose menuconfig options on hardware are useless. Is there a link to a comprehensive guide? Apart from gentoo instructions.
Yep menuconfig, look at your lsmod, and build that in. Most of the other modules in drivers could be torn out. Same with anything else you don't need.
FMA thumbnail
FMAB > FMA
@@joshuagraham9770 Not reading manga smh.
Could you do a video on how to customize your Linux kernel for beginners ?
full video tutorial of you customizing your kernel?
Sean Jean baby boi!!!
fullmetal alchemist
really cool
None of the function keys is opening my buos anymore :(
And i have to access it bc my kernel updated to a unstable version so my internet doesn't work anymore (at least thats what the ibternet is saying) :(
I did it but my xorg has a fatal server error screens not found idk why still teying to fix
When does Gentoo gonna have guided installer?
The question is: why would you want to customize your kernel on a non-gentoo distro? Aren't default kernels good enough?
I only just gave up trying to get my first gentoo install to work with a custom kernel. I'm thinking maybe Luke smiths deepfake might be compromised by the glowies.
Dude you look like if jason tatum went into a IT degree instead of the NBA
I've build the kernel a couple of dozen times and I never figured out that you can go straight to the found option using the search result index...
#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.
Why using menuconfig when nconfig exists?
Hot take: customizing your kernel isn't like customizing the rest of your Linux system. It's generally just a hurdle to getting to actually getting a running system. That's not to say it's not a worth while endeavor. Just that it's not as impactful for how much of a pain it can be.
yeah i always start with a distribution kernel initially and compile a custom kernel later for this reason. i weirdly enjoy configuring and compiling a custom kernel, but not when im super tired and just want my system to work for the time being
Thank you!
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.
who put the highlight of this video to the last 2 seconds
lol
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 🌹
I recently had an issue where my oldconfig had a problem being carried forward. On boot, devices would not work, no USB, decompressing packages at boot failed. Took forever to find the problem. The problem was that updating the config disabled NUMA support. Really stupid that they didn't carry that forward more carefully.
Arch BTW
Classic
Can u review GarudaOS?
Before the kernel had modules I compiled it all the time, selecting only my hardware, etc.
Valid valid real talk
Please make a video of how to use that .config with savedconfig with the gentoo-kernel package. This is so well thought out on gentoo, I really think we should spread the word