How to Upgrade Your Gentoo Linux Kernel - Best Guide on YouTube!

  Рет қаралды 38,786

Mental Outlaw

Mental Outlaw

Күн бұрын

Пікірлер: 76
@alik250
@alik250 4 жыл бұрын
We need more normies in the linux space!!! Anyway here's a gentoo video
@danielpicassomunoz2752
@danielpicassomunoz2752 10 ай бұрын
Nay, need more normies stop being normies, thus use linux
@Gigachad-mc5qz
@Gigachad-mc5qz 3 ай бұрын
​@@danielpicassomunoz2752 using linux is the first step. I was a normie once
@elijahking3376
@elijahking3376 4 жыл бұрын
Hey man, glad to see a Gentoo user gaining traction. I think you’re doing great so far. Hope you choose to stick around, because I will.
@kacperw587
@kacperw587 4 жыл бұрын
I see thumbnails made using the Smith's book.
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
The unaboomer was right, memes=clicks.
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
As soon as I can leave the city to go to a more rural place, or next time time i visit my family farm, does ranting in a field count?
@user-vt3vu4xv2l
@user-vt3vu4xv2l 4 жыл бұрын
@@MentalOutlaw it'd be more authentic than distrotube ranting in his suburban backyard so I'd say take a crack at it.
@mr.vore_659
@mr.vore_659 4 жыл бұрын
the gentoo version of luke smith
@asystole_
@asystole_ 4 жыл бұрын
Gentoo/Luke Smith, or as I've recently taken to calling it, Gentoo plus Luke Smith.
@jajajajahahahahaja
@jajajajahahahahaja 4 жыл бұрын
You can set ~amd64 within your make.conf file that's what I do, I like living on the edge. :)
@mercuriete
@mercuriete 4 жыл бұрын
If you have a new hardware obviously you need the first kernel that supports your hardware. But as normal update... it is better to wait until 5.9 LTS Linus announces LTS kernel usually at x.4, x.9, x.14 and x.19 So there are no need to rush until 5.9 comes out. I usually let to the gentoo developers to do a stabilization round to the LTS kernel before upgrade. You can open a ticket on bugzilla if you want a stabilization round. EDIT: I will recomend you to put in the package.accept_keywords
@patrickdee7365
@patrickdee7365 3 жыл бұрын
Bless you dood. All your Gentoo stuff is Top Notch, this is even better explaned than the original documentation!
@MyurrDurr
@MyurrDurr 4 жыл бұрын
This thumbnail game is too strong :') and Im here for it!
@kaysersozze
@kaysersozze 4 жыл бұрын
FWIW if the package was already emerged before you should use -1 (--oneshot) option to emerge it again, like "emerge -1 gentoo-sources" , if you check messages in your video before gentoo-sources start installing you can see that it's recording gentoo-sources in "world" file, you should avoid that if the package is already installed, something else pulled it if it's not in the world file.
4 жыл бұрын
Getting more and more intention to install gentoo again....
@evart5374
@evart5374 3 жыл бұрын
dont do it
@sirrobertwalpole1754
@sirrobertwalpole1754 2 жыл бұрын
Do it
@realt0nse
@realt0nse 2 жыл бұрын
do it, become a part of us, get lady, be the king of hers, be a chad.
@johanb.7869
@johanb.7869 4 жыл бұрын
Cross our fingers, pray to Tux. Nice;)
@RantOfTheDay01
@RantOfTheDay01 4 жыл бұрын
For test-purposes i'm always leaving my kernel on super stable versions. Once its running like a charm (on systems where it doesnt have to run 24/7) i'll move closer to the edge ;)
@reytempo
@reytempo 4 жыл бұрын
nice channel bro... bench watching your videos!
@nagitokomaeda3237
@nagitokomaeda3237 4 жыл бұрын
s/bench/binge
@reytempo
@reytempo 4 жыл бұрын
@@nagitokomaeda3237 thanks
@DailyDoseAnimu
@DailyDoseAnimu 4 жыл бұрын
Just watched your Thumbnail video on KZbin. It's pretty difficult but I'm willing to learn to make mine just as good as yours
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
Glad I could help! FYI I did this Thumbnail as a 1920x1080 .jpeg, someone commented that .jpeg's take up less space than .png's, so I was able to stay under KZbin's 2MB limit while using a higher resolution.
@beast4000
@beast4000 3 жыл бұрын
This video is better then the gentoo documentation wtffff
@emisunflowers
@emisunflowers 4 жыл бұрын
Fantastic video. Very helpful. This kind of content that thoroughly and simply explains difficult situations (for a new gentoo user like myself) is the kind of stuff needed to increase gentoo usage and general understanding of a Linux system. Great work!
@nerdsvillellc2941
@nerdsvillellc2941 3 жыл бұрын
Isn’t the mount point for your boot partition /boot/EFI on your system? That’s what your fstab seems to indicate
@joshuamaserow
@joshuamaserow 4 жыл бұрын
This thumbnail was my linux; I mean life.
@adithya6956
@adithya6956 4 жыл бұрын
about mounting partitions, if it's in fstab already, just using mount /mount/point will mount it
@BackstreetDrawler
@BackstreetDrawler 7 ай бұрын
I'm glad you pointed this out because I was intending to make the same comment. I think that is much simpler.
@bonkmaykr
@bonkmaykr 4 жыл бұрын
Man I Loved that thumbnail work there
@m-electronics5977
@m-electronics5977 2 ай бұрын
16:43 why your kernel compiles so fast?😅
@aleksandrpetrosyan1140
@aleksandrpetrosyan1140 4 жыл бұрын
To everyone watching, please don't use `vim /etc/file` to edit files as root. Just do `sudo -e /etc/file`. Will save you a lot of headache.
@Justanoobcoder
@Justanoobcoder 3 жыл бұрын
cool
@Toxonic0Gaming
@Toxonic0Gaming 4 жыл бұрын
What's the rationale for setting your MAKEOPTS "-j" flag to your threads plus one? I've always heard to make it equal to your available threads.
@zeckma
@zeckma Жыл бұрын
I never understood it well, as a lot of sources use the amount of cores, while others use said amount + 1. Personally, I just use the number of cores, stuff works fine.
@BackstreetDrawler
@BackstreetDrawler 7 ай бұрын
That has been the advice from Gentoo community as long as I have used Gentoo which is about 25 years now. To the best of my recollection, the rationale of having one more make job than the number of CPU cores (or, in the era of hyperthreading, CPU threads) is to minimize unused CPU time. If one make job finishes, there is already an extra process waiting to be processed by a CPU core immediately instead of slack time between the ending of one make job and the beginning of a new one. Clearly, any theoretical wasted CPU time is likely on the order of milliseconds. I suppose this could translate to a few minutes difference over the course of a large compilation. Though I do wonder how relevant it is with modern hardware -- especially since so many computers use SSDs instead of mechanical hard drives because a significant cause for delay between the end of one make job and the beginning of a new one is probably I/O from the storage device.
@dakota48
@dakota48 2 жыл бұрын
Would like a more tldr up to date version of this useful vid.
@fallofmanbrand
@fallofmanbrand 4 жыл бұрын
great video bro
@gamszguybaz3202
@gamszguybaz3202 2 жыл бұрын
For those with an initramfs, before configuring grub you should configure your initramfs. You can do it with dracut utility: (as root or with sudo ) dracut ---kver kernel_version for more info you can check gentoo wiki dracut pake or gentoo handbook configuring kernel section
@caleb-hill
@caleb-hill Жыл бұрын
or you can use { $ genkernel initramfs } before { $ grub-mkconfig -o /boot/grub/grub.cfg }
@drrenard1277
@drrenard1277 2 жыл бұрын
I need to do an install. Ubuntu is driving me nuts with how it feels like I am fighting everything when I'm in it. Gentoo other than first installing has been like it's less fighting and also less laggy.
@AuDHDQ
@AuDHDQ 4 жыл бұрын
What's wrong with your dwm? It looks like you don't have color emoji support.
@laughingvampire7555
@laughingvampire7555 Жыл бұрын
Windows: I'm making you reboot because I have bugs Gentoo: I'm making you reboot because I want to
@spandansaha5663
@spandansaha5663 4 жыл бұрын
wait why arent you using doas anymore??
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
I don't actually dont have doas installed on that VM, it's a new one that I created for testing. I'll probably still use sudo for instructional videos since doas is not a well known command, and most people don't have it installed.
@DimiEG
@DimiEG 4 жыл бұрын
But how about “initramfs” creation?
@freyjadomville
@freyjadomville 4 жыл бұрын
packages.gentoo.org/packages/sys-kernel/gentoo-sources indicated 5.4.38 is what Gentoo considers stable. This *is* still useful, however, so thanks.
@jonesbbq307
@jonesbbq307 3 жыл бұрын
It’s like I’m watching a car repair video.
@TheKarotin
@TheKarotin 3 жыл бұрын
Best of the best!!!
@GooogleGoglee
@GooogleGoglee 4 жыл бұрын
I don't want to start any arguing... But why Gentoo instead of Arch? What pros and contro? What is the skill level already acquired to feel confident on start fresh on Gentoo when you are doing good with Arch? Why I should switch?
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
on Gentoo you can compile software the way you want, customize your kernel, use overlays to build software against libressl or something similar, choose your init system and core utils. Gentoo basically gives you even more choice than Arch
@BackstreetDrawler
@BackstreetDrawler 7 ай бұрын
Honestly, if you're happy with Arch, you may or may not have any reason to switch. I've been using Gentoo (or a variant such as Sabayon or Funtoo) for around 25 years now. I did an Arch install and tinkered with it quite some time ago. But it just wasn't my thing. Besides my high comfort level with Gentoo, I found both more configurable and yet easier to configure. And I've used a wide variety of OSes including other enthusiast distros like Slackware as well as FreeBSD. IMO, Gentoo (and even moreso Funtoo) has the finest-grained framework for control over system configuration of any OS I've used. As much as I like FreeBSD, portage is the one thing I miss most because it blows the ports framework out of the water.
@JSRMedia
@JSRMedia 2 жыл бұрын
Manjaro go brrrrrrr
@MsGaug
@MsGaug 4 жыл бұрын
I'm please to see a video on gentoo
@PanSebix
@PanSebix 4 жыл бұрын
A question about make -j Hello, just as JimJamShazam asked, what is the purpose of adding 1 to the max core/thread count that you have? I heard that on Telegram group, and I have decided to test it. github.com/kuchikuu/blog/blob/master/2020/06/13/1/post.md Here are the results. In my case, adding 1 is not beneficial at all. People said it's about "pre caching the file and keeping it in ram, ready to get compiled". One person even said it saved him a solid few minutes by adding that 1 additional core. Your reply would be a huge help to finish my "research". Thank you for reading my comment.
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
Because the processes that are waiting for I/O are counted as a job in the load statistics even though its not a true compile job. Basically your MAKEOPTS is how many make jobs you can have running in parallel, usually a single CPU thread can handle a make job by itself, assuming you have sufficient RAM aswell (2 GB for each thread in my experience) so if you have 4 threads your system can handle 4 make jobs, and the +1 is to account for that "queue" of jobs.
@MentalOutlaw
@MentalOutlaw 4 жыл бұрын
Its also worth noting that if you have less than 2 GB of RAM per thread that setting your MAKEOPTS equal to the number of CPU threads could result in portage crashing, especially if you're compiling a large package, so for those situations setting it 1 or 2 under is best.
@PanSebix
@PanSebix 4 жыл бұрын
@@MentalOutlaw Thank you very much. It really helps. I'll take into account your warnings, and I will assign less ram in my "test environment" to check the crashing, and potential slowdowns. Great content by the way!!! Have a nice day!
@vacant2012
@vacant2012 4 жыл бұрын
I upgrade my kernel with one simple command: mount /boot && eselect kernel set && cd /usr/src/linux && cp ../linux\-$(uname \-r)/.config . && make oldconfig && make \-j8 && make modules_install install && emerge @module-rebuild && dracut \-\-hostonly '' "$(readlink /usr/src/linux|cut -d\- -f2-)" && grub-mkconfig -o /boot/grub/grub.cfg && umount /boot EDIT: Pretend like the backslashes aren't there, otherwise youtube treats the dashes like strikethroughs. I didn't even know youtube had that kind of formatting capability.
@vit.c.195
@vit.c.195 4 жыл бұрын
genkernell all --menu-config - handle whole 19 min of video.
@katanasteel
@katanasteel 4 жыл бұрын
latest stable kernel: (5.4.38) 5.4.38^bs packages.gentoo.org/packages/sys-kernel/gentoo-sources
@TanigaDanae
@TanigaDanae 4 жыл бұрын
3 Cores .... like Phenom II X3 720
@kevyyar
@kevyyar 4 жыл бұрын
Why Gentoo over Arch? Less resources? I have 16gb of ram bro with a great CPU. So why Gentoo?
@_MPP_
@_MPP_ 3 жыл бұрын
Nowadays I need to get work done, so I use Arch. Gentoo is awesome don't get me wrong, but my tinkering/ricing days are over, so I see no reason to use it over Arch. None.
@deepakshivraj4881
@deepakshivraj4881 3 жыл бұрын
@@_MPP_ You can do the same job on Gentoo too cuz its all Linux. But I understand you like arch and it works for you but still I would request you to give gentoo a try when you are free atleast. Its an amazing distro
@_MPP_
@_MPP_ 3 жыл бұрын
@@deepakshivraj4881 yes, I used Gentoo for over 5 years before switching to Arch. Like I said, nowadays I need to get work done and I'm not interested in ricing or getting 4% more performance out of my distro :)
@deepakshivraj4881
@deepakshivraj4881 3 жыл бұрын
@@_MPP_ You dont need to rice your distro if u dont want to. Like Mental outlaw has some very basic config in his distro and if u are using a tiling WM you can just port you config from Arch to Gentoo. Other than the compile time for some old processor I dont see anything wrong with Gentoo. So just do the updates on the weekend
@_MPP_
@_MPP_ 3 жыл бұрын
@@deepakshivraj4881 Gentoo was a nice hobby and distro for sure but nowadays I want my OS to be as invisible as possible. Pacman -Syu once a week and that's it :) I make money by developing software, not thinking about nor tweaking my operating system.
@avocado4877
@avocado4877 4 жыл бұрын
1:10 host virtualbox? fake gentoo user 😂
@ybenax
@ybenax 3 жыл бұрын
I’m not into overpriced devices with limited settings either, but I’m much less into devices with privacy-less mobile OSs that also monopolize 90% of the market-share with anti-competitive practices. So choose your own poison.
Gentoo Linux on a 133Mhz Pentium! (feat. Linux 6, and NsCDE.. Again) | WGEX
22:07
OpenBSD Desktops Are For Hackers Only
13:14
Mental Outlaw
Рет қаралды 212 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 566 М.
DOMINATING Gentoo Linux With a 32 Core Threadripper
44:30
Mental Outlaw
Рет қаралды 135 М.
make.conf An in Depth Analysis
18:52
Mental Outlaw
Рет қаралды 10 М.
Build a minimal Linux with only Busybox in 1 hour
45:27
Write your own Operating System
Рет қаралды 34 М.
Sound Without the Bloat in Gnu/Linux
10:29
Mental Outlaw
Рет қаралды 63 М.
Linux File System Simply Explained
26:50
NeuralNine
Рет қаралды 26 М.
How to Interpret Load Average in Linux (Linux Crash Course Series)
15:23
Installing Xorg And DWM On Gentoo
22:22
DistroTube
Рет қаралды 50 М.
Ultimate guide to installing Gentoo Linux for new users
2:14:21
LinuxTechGeek
Рет қаралды 37 М.