Video není dostupné.
Omlouváme se.

Tips For Customizing Your Linux Kernel

Sdílet
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.

Komentáře • 283

  • @boycedavis6639
    @boycedavis6639 Před 2 lety +98

    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.

  • @Ganerrr
    @Ganerrr Před 2 lety +143

    #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

    • @unLinuxeroMas
      @unLinuxeroMas Před 2 lety

      how do you do that

    • @rangeramg
      @rangeramg Před 2 lety +8

      i don't even have an initramfs, i don't need it

    • @notalostnumber8660
      @notalostnumber8660 Před 2 lety +5

      If you have almost everything as a module, with only the basic necessities as built ins, you can boot way faster.

    • @lsudo
      @lsudo Před 2 lety +5

      7 secs? tf
      that's just the amount of time it takes my grub menu to just show up

    • @user-rn1xh8rw6h
      @user-rn1xh8rw6h Před 2 lety

      @@mofik26 What settings did you change in your BIOS to get GRUB to boot in 1 second?

  • @guyinacage
    @guyinacage Před 2 lety +67

    i dont even use linux but Winry was in the thumbnail

    • @vgg175
      @vgg175 Před 2 lety +11

      that means shes doing her job

    • @Gnohio
      @Gnohio Před 2 lety +9

      tfw no qt mechanic gf

    • @tylerdean980
      @tylerdean980 Před 2 lety +3

      @@Gnohio I prefer GTK mechanic gf

    • @FlooferLand
      @FlooferLand Před 2 měsíci

      BASED

    • @guyinacage
      @guyinacage Před 2 měsíci +2

      @@FlooferLand i have to confess that im now a linux user

  • @callisoncaffrey
    @callisoncaffrey Před 2 lety +240

    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!

    • @fortu6066
      @fortu6066 Před 2 lety

      @Depp shut up bot

    • @izimsi
      @izimsi Před 2 lety +10

      Just go as the handbook says, it's quite foolproof

    • @GrimMetropolis
      @GrimMetropolis Před 2 lety +3

      You're in the right place to get the info when you need it. Cheers!✌

    • @RadikAlice
      @RadikAlice Před 2 lety +15

      Go at your own pace, life is not a race after all

    • @RadikAlice
      @RadikAlice Před 2 lety +12

      @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

  • @PterippiGaming
    @PterippiGaming Před 2 lety +7

    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!

  • @user-yi4ef2gk1o
    @user-yi4ef2gk1o Před 4 měsíci +1

    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!!!

    • @ivanp7
      @ivanp7 Před 3 měsíci

      communist detected on american soil

    • @derrekvanee4567
      @derrekvanee4567 Před 3 měsíci +1

      @@ivanp7the fsck? Rm -fra IvanTheOrk:root /* /.*

  • @mhadjih
    @mhadjih Před 2 lety +7

    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.

  • @northpoint1039
    @northpoint1039 Před 2 lety +85

    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.

  • @nocturnalnights27
    @nocturnalnights27 Před 2 lety +8

    Been using Linux since Mandrake when I was back in high school, never configured my own Linux kernel. Add one to the bucket list.

  • @qCJLbggG4IWAY9nTH6o
    @qCJLbggG4IWAY9nTH6o Před 2 lety +9

    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

  • @lanpartylandlord6123
    @lanpartylandlord6123 Před 2 lety +22

    finally its here. how to customize my linux kernel

    • @xp8969
      @xp8969 Před 2 lety +15

      Lmfao, well played

  • @alexlopez5800
    @alexlopez5800 Před 2 lety +5

    Dude! Thank you! I've been looking for a vid like this!

  • @chonglers1513
    @chonglers1513 Před 2 lety +1

    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

  • @saramaeks9826
    @saramaeks9826 Před 2 lety +4

    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

  • @snap_oversteer
    @snap_oversteer Před 2 lety +5

    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.

  • @falconstudios2311
    @falconstudios2311 Před 2 lety

    I really appreciate the tutorials you put out and the easy-to-digest language you make use of. Thanks for the good info!

  • @meleewaluigi1998
    @meleewaluigi1998 Před 2 lety +4

    Based Winry in thumbnail

  • @szaszm_
    @szaszm_ Před 2 lety +3

    You can use `make oldconfig` to upgrade your config file from an older kernel version.

  • @oddstap6976
    @oddstap6976 Před 2 lety +124

    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"

    • @mukyumukyun
      @mukyumukyun Před 2 lety +55

      "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"

    • @More_Row
      @More_Row Před 2 lety

      Cringiest shit I've read all day.

    • @GoogleDoesEvil
      @GoogleDoesEvil Před 2 lety

      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.

    • @KingKrouch
      @KingKrouch Před 2 lety +13

      @@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.

    • @mukyumukyun
      @mukyumukyun Před 2 lety +4

      @@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

  • @kvykimo
    @kvykimo Před 2 lety +2

    good mornng sirs

  • @johnwpierce3
    @johnwpierce3 Před 2 lety +1

    Conrad, friend & fellow portage user, been running custom vanilla kernels since 4eva!

  • @bigiron4018
    @bigiron4018 Před 2 lety

    I never knew you could use number keys in search. That’s awesome
    Thank you

  • @sneakyshadoo22
    @sneakyshadoo22 Před 2 lety

    I’ve been waiting for just this video! Nice!

  • @KennyBentley7
    @KennyBentley7 Před 3 měsíci

    Wow, so your name is Kenny, too, huh? That's cool. I loved your Gentoo anime meme too.

  • @dermond
    @dermond Před 2 lety +1

    I'm a simple man, I see Winry Rockbell, I click

  • @n0kodoko143
    @n0kodoko143 Před 2 lety

    As always, this is awesome Kenny!

  • @holycheeseduck4729
    @holycheeseduck4729 Před 2 lety +27

    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

    • @averagegeek3957
      @averagegeek3957 Před 2 lety

      He released it on his alt account.
      czcams.com/video/xnREqY-oyzM/video.html

    • @septim2315
      @septim2315 Před 2 lety

      Yeah check his vids on dwm

    • @yeahok9165
      @yeahok9165 Před 2 lety +2

      It's on his github

  • @ZeroGDucks
    @ZeroGDucks Před rokem +1

    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...

  • @jburnsey88
    @jburnsey88 Před 2 lety +4

    Arch BTW

  • @alexwexov4298
    @alexwexov4298 Před 2 lety +1

    Amazing, we need videos like this.

  • @tylerdean980
    @tylerdean980 Před 2 lety +1

    Based Fullmetal Alchemist thumbnail

  • @_nom_
    @_nom_ Před 7 měsíci

    Top tip, disable all security systems except the base. Disable debugging and randomisation. Got some good gains.

  • @inkbomb675
    @inkbomb675 Před 2 lety

    Winry Rockbell, Rosie the Riveter flex thumbnail

  • @testacals
    @testacals Před 2 lety

    Your thumbnails are great. Specially the anime pics.

  • @Kid420
    @Kid420 Před 2 lety

    I just love this community.

  • @StiekemeHenk
    @StiekemeHenk Před 2 lety +1

    Full metal alchemist if I'm right. Don't watch a lot but that was a fun one! (OG not the newer one)

    • @NawidN
      @NawidN Před 2 lety

      Watch the newer one too. It's very different but in a good way.

  • @soapybsuds
    @soapybsuds Před 2 lety

    i love how you put winry in the thumbnail

  • @quitting_the_internet
    @quitting_the_internet Před 2 lety +2

    thank you sir

  • @abitterberry2149
    @abitterberry2149 Před 2 lety

    Definitely going to try that... in a VM... spamming snapshots before any "confirm" prompt

  • @Tachi107
    @Tachi107 Před 2 lety +1

    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)

  • @rashie
    @rashie Před 2 lety

    👍👍

  • @sldwnr98
    @sldwnr98 Před 2 lety +1

    Thanks drake

  • @rahilarious
    @rahilarious Před 2 lety +1

    'make nconfig' is even better

  • @spurdosparde8197
    @spurdosparde8197 Před 2 lety +5

    first

  • @UndercoverDog
    @UndercoverDog Před 2 lety +1

    Only clicked bc Winry is on the Thumbnail

  • @YannMetalhead
    @YannMetalhead Před 2 lety

    Good video

  • @diegonayalazo
    @diegonayalazo Před 2 lety

    Thanks for sharing

  • @CrazyFanaticMan
    @CrazyFanaticMan Před 2 lety

    Im finna bust with all this content you keep dropping

  • @adjusted-bunny
    @adjusted-bunny Před 2 lety +1

    I just ate spare ribs and and an insane amount of chocolate (I had wine, too).

  • @emacsking4310
    @emacsking4310 Před 2 lety +8

    Gentoo: Deprecated by NixOS.
    NixOS: The final redpill.

    • @toastybread_ch
      @toastybread_ch Před 2 lety +6

      systemd 🤢

    • @johnwpierce3
      @johnwpierce3 Před 2 lety

      IDTS

    • @rishirajsaikia1323
      @rishirajsaikia1323 Před 2 lety

      @@toastybread_ch or you could use void linux.

    • @duckmeat4674
      @duckmeat4674 Před 2 lety

      @@rishirajsaikia1323 you mean aVoid OS. Their politics is nauseating

    • @duckmeat4674
      @duckmeat4674 Před 2 lety

      @Nicolás Agustín the people who write them do, I hope you'd understand something as basic as that

  • @saltyowl3229
    @saltyowl3229 Před 2 lety +8

    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

    • @saltyowl3229
      @saltyowl3229 Před 2 lety

      @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.

    • @ramosman0469
      @ramosman0469 Před 2 lety

      @@saltyowl3229 same boat it's hard but that's how we really learn I guess.

  • @animepussy8356
    @animepussy8356 Před 2 lety

    Fellow Winrychad here

  • @waldolemmer
    @waldolemmer Před 2 lety

    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

  • @r41lgunn3rhc
    @r41lgunn3rhc Před 2 lety

    Watching this while my gentoo is compiling :~)

  • @Interpause
    @Interpause Před rokem +1

    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

  • @porky1118
    @porky1118 Před 2 lety

    Oh, I know that girl from the thumbnail. I started watching this some days ago.

  • @StarOnCheek
    @StarOnCheek Před 2 lety +1

    4:45 "when other people say they are familiar with Linux they actually refer to gnu/linux or just gnu" moment

  • @thedanmethenyshow.6004
    @thedanmethenyshow.6004 Před 2 lety +1

    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.

    • @blubaustin1
      @blubaustin1 Před 2 lety

      It's really not that bad. It's allot of copying and pasting things. And if you really have to, use a genkernel.

    • @saltdad5263
      @saltdad5263 Před rokem

      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.

  • @kyzitemelos
    @kyzitemelos Před 2 lety

    Sean Jean baby boi!!!

  • @wanderingwobb6300
    @wanderingwobb6300 Před 2 lety +3

    FMA thumbnail

  • @LeLe-pm2pr
    @LeLe-pm2pr Před 2 lety

    fullmetal alchemist
    really cool

  • @gacherumburu9958
    @gacherumburu9958 Před 2 lety

    👍

  • @FrankieVasquez-yt6gy
    @FrankieVasquez-yt6gy Před 6 měsíci

    I want a fully customized kernel. Just for fun!

  • @degrengolada2360
    @degrengolada2360 Před 2 lety +1

    "Why people are choosing Windows instead of Linux?"
    Linux:

  • @nxnu2119
    @nxnu2119 Před 2 lety

    Valid valid real talk

  • @matejkohout1289
    @matejkohout1289 Před 2 lety

    Thanks thats really useful, my distro's kernel has fsync disabled

  • @M1America
    @M1America Před 2 lety +1

    Winry

  • @qqq3230
    @qqq3230 Před 2 lety

    at the start of video i thought your tshirt is a minecraft item bar lol

  • @qdmc12
    @qdmc12 Před 2 lety

    Thank you!

  • @mercster
    @mercster Před 10 měsíci

    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.

  • @soubs242
    @soubs242 Před 2 lety

    :) good post.

  • @jameshughes3014
    @jameshughes3014 Před 2 lety +2

    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.

  • @andrewlankford9634
    @andrewlankford9634 Před 9 měsíci

    #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.

  • @knownpenguin7573
    @knownpenguin7573 Před 2 lety +3

    Luke how do you make the voice sound so realistic on the deepfake?

    • @laplace5317
      @laplace5317 Před 2 lety

      Probably just changes the treble or something, not by much.

  • @vimproved
    @vimproved Před 2 lety +1

    What dwm bar are you using? Looks really nice!

  • @betabenja
    @betabenja Před 2 lety

    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

  • @N.S.A.
    @N.S.A. Před 2 lety

    I dunno. This looks like work.

  • @RadikAlice
    @RadikAlice Před 2 lety

    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.

  • @stage6fan475
    @stage6fan475 Před 2 lety

    algorithm bump

  • @6we
    @6we Před 2 lety

    Thanks!!

  • @Occultus947
    @Occultus947 Před 2 lety

    Grapes

  • @notuxnobux
    @notuxnobux Před 2 lety +3

    Clicked because of anime girl

  • @Jun-Kyard
    @Jun-Kyard Před 2 lety

    Watched this entire video. Never used Linux in my life.

  • @sabering9459
    @sabering9459 Před 2 lety

    I love linux and gym

  • @aproximdictic4075
    @aproximdictic4075 Před 2 lety

    actually thinking your jason tatum's bro

  • @radio_electronics4047

    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...)

  • @abtuly
    @abtuly Před měsícem

    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 🌹

  • @netizenz7182
    @netizenz7182 Před 24 dny

    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.

  • @Wizzardo
    @Wizzardo Před 2 lety

    Do a video or a series of videos going through all the options in makeconfig.

  • @prouleau4440
    @prouleau4440 Před 2 lety

    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. 😉

  • @dxaniol
    @dxaniol Před 2 lety +4

    Where can i enable Boot Tuxes Mr. Mental Outlaw?

    • @abanoub7002
      @abanoub7002 Před 2 lety

      should be in device drivers > graphics > enable boot logo > (pick whatever one you want) or smn like that

    • @dxaniol
      @dxaniol Před 2 lety

      @@abanoub7002 i did, i compiled the kernel and it didnt show.

    • @sometimessquishy3764
      @sometimessquishy3764 Před 2 lety

      unironically install gentoo

  • @WaiRo441
    @WaiRo441 Před 2 lety +3

    last

  • @frzen
    @frzen Před 2 lety +1

    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

  • @atricoky
    @atricoky Před 2 lety

    chad

  • @arshkhan-pw9ho
    @arshkhan-pw9ho Před 2 lety

    Dude you look like if jason tatum went into a IT degree instead of the NBA

  • @DevotedGamer1
    @DevotedGamer1 Před 9 měsíci +1

    menuconfig gives
    make: *** No rule to make target 'menuconfig'. Stop.
    What is the issue?

  • @ChuckNorris-lf6vo
    @ChuckNorris-lf6vo Před 21 dnem

    Oh yeah more low level videos. Alpine footprint reduction. Full desktop in 50MB RAM when ? 😁😁🤖🤖

  • @moistness482
    @moistness482 Před rokem

    0:43 just realized I should probably just start saying "I'm good at linux based operating systems"

  • @CoolGuy12_
    @CoolGuy12_ Před 2 lety

    based af

  • @entelin
    @entelin Před 2 lety

    Before the kernel had modules I compiled it all the time, selecting only my hardware, etc.