Why Compile a Linux Kernel from Source?

  Рет қаралды 27,898

DJ Ware

DJ Ware

Күн бұрын

I have had a few requests to walk through a linux kernel source build from start to finish, so today I am going to use Debian 12 stable as my starting point and I am going to compile and install the lated (as of today) Linux Kernel 6.7.9. I will also discuss some of the reasons why you might want to compile a Linux Kernel in this video.
Linux Kernel Documents: docs.kernel.org/
AI thumbnail: One of the most fascinating of all the trades a blacksmith working a forge to create something from a lump of metal.
Chapters
00:00 - Why Compile the Linux Kernel From Source?
05:01 - Retrieve the Linux Kernel Source Code
06:08 - Install Build Packages
10:00 - Compile TIme Errors
10:25 - Fixing the Error
11:22 - Install the Modules
11:49 - Make Install (Copy to /boot)
11:57 - Reboot
12:09 - Verify the Kernel is Working
12:48 - Final Thoughts
Support me on Patreon: / djware
Follow me:
Twitter @djware55
Facebook: / don.ware.7758
Gitlab: gitlab.com/djware27

Пікірлер: 150
@CyberGizmo
@CyberGizmo 3 ай бұрын
Many of you who watch this channel know I use VM's for playing around, learning stuff and in this case compiling a linux kernel on a Debian 12 VM. My workstation is Fedora KDE which runs under Asahi Linux on a Mac Mini...so that is just how I roll. So suspicious .... I never ever put a new kernel on hardware until I have tested it out...one thing I do not need is a kernel build which fails, breaks or mutalates my data...
@EricLikness
@EricLikness 3 ай бұрын
I can honestly say (having struggled trying to get NetBSD working on an old Mac IIci back in 1999) you have satisfied _ALL_ my curiosity. Nice, brief, to the point 👍
@arduinoguru7233
@arduinoguru7233 3 ай бұрын
@@EricLikness I still had issue running NetBSD even on VM, e.g I couldn't able to make it use my flash drive, remind me Linux on late 90's, you won't find driver for silly stuff (e.g you mouse)
@SajjadRizvi77
@SajjadRizvi77 3 ай бұрын
Ability to compile your own kernel from source is a privilege in a world of today where everything is served to you based on general user requirements
@musiqtee
@musiqtee 3 ай бұрын
I agree, but isn’t it rather “specific intellectual property requirements” to keep the walled garden eh… walled? Then the general user pay up and hope they get their money’s worth - without actually _owning_ anything… 😜
@604Nighthawk
@604Nighthawk 3 ай бұрын
I fondly remember 20 - 30 years ago when the only way to add drivers was to recompile the kernel. (Before kernel modules were added)
@CyberGizmo
@CyberGizmo 3 ай бұрын
Yes and filesystems as well. Things are much easier today,
@NeverTrust298
@NeverTrust298 2 ай бұрын
wow so I'm a newbie does the compilation process damage the cpu?
@SpinelessHeretics
@SpinelessHeretics Ай бұрын
@@NeverTrust298 I've never Heard of this happening
@dingokidneys
@dingokidneys 3 ай бұрын
I first compiled a kernel in the mid 1990's. I had an old 386DX machine and wanted to have as stripped down a kernel as I could get so there were more resources for the stuff I was trying to do. Many hours and many broken compiles later I had something that worked and I felt great that I'd achieved that. The hardware was a lot simpler in those days and working through menuconfig wasn't as daunting a prospect as it would be today; I haven't tried a kernel build recently. I might just have to give it another shot, just for old time's sake.
@m1k3e
@m1k3e 3 ай бұрын
Just compiled the latest version of the NetBSD 9.3 kernel for an old 486 system that was upgraded to an 83 MHz Pentium Overdrive. Compiling it myself reduced the footprint to
@theplaymakerno1
@theplaymakerno1 3 ай бұрын
My favorite KZbinr providing us more useful information! Thank you for existing, sir!
@isopticon
@isopticon 3 ай бұрын
I love the Fedora icon for the KDE menu panel. Thank you for this great tutorial, I think we need more of this. You probably don't appriciate how much value your little tutorials have. Watching someone who did that gazillion times is completely different from watching tutorials by people who make tutorials. We can learn from your knowlege and experience, it's very much appriciated.
@terrydaktyllus1320
@terrydaktyllus1320 3 ай бұрын
As a Gentoo user for 21 years now, compiling kernels for me is "par for the course" - once you have a good and working kernel config then just re-using that every time you upgrade works pretty flawlessly. Every couple of years I do try to streamline the configuration because of "bloat" due to blindly accepting default options when doing a "make oldconfig" to upgrade a config to a newer kernel release.
@clytle374
@clytle374 3 ай бұрын
Same here, in all aspects 😊
@crayzeape2230
@crayzeape2230 3 ай бұрын
Same here, so that makes at least three of us.
@ttybitnik
@ttybitnik 3 ай бұрын
One day it will be 4. Getting there haha
@whtiequillBj
@whtiequillBj 3 ай бұрын
a good reason to compile the kernel is if you are using Linux From Scratch or Gentoo. There may be a few other distros too.
@matthewdinslage7179
@matthewdinslage7179 3 ай бұрын
That's why I am a Slackware user. Compiling your own kernel or just software in general is very easy to do with Slackware.
@SajjadRizvi77
@SajjadRizvi77 3 ай бұрын
Slackware ❤
@yep596
@yep596 3 ай бұрын
Praise Bob!
@CyberGizmo
@CyberGizmo 3 ай бұрын
Slackware!
@andersjjensen
@andersjjensen 3 ай бұрын
Other Linux Users: So why on earth are you running Slackware? Slackware User: Because it's the distro that infuriates me the least....
@OpenBASED
@OpenBASED 3 ай бұрын
@@andersjjensen Less than Debian? Because I've had almost no issues with Debian. A friend back in high school, decades ago, used Slackware... but back then I was still a Windows user.
@drkskwlkr
@drkskwlkr 3 ай бұрын
Due to the weirdness of KZbin algorithms, I hadn't watched a Cybergizmo episode for several months. Totally loving the beard!!
@bepis2679
@bepis2679 3 ай бұрын
I was gonna say the same thing lol
@abobader
@abobader 3 ай бұрын
Nice one DJ, many thanks for this, sure indeed bring some old memories, well done!
@repairstudio4940
@repairstudio4940 3 ай бұрын
You sir are absolutely awesome! This was most educational. I always look forward to all your content, thank you! 🎉
@Appalling68
@Appalling68 3 ай бұрын
Hey DJ. Well this video was just fascinating. Thank you for this!!
@CyberGizmo
@CyberGizmo 3 ай бұрын
Glad you enjoyed it and great to see you again!
@No-no-no-no-nope
@No-no-no-no-nope 3 ай бұрын
It's funny that there are still magazines with Linux on DVD. I got my first PC with Windows 95 pre-installed when I was 13/14. I immediately unscrewed it because Windows kept crashing. Of course, it wasn't the hardware, so I went to the gas station and bought a booklet with a Linux CD. The magazine contained instructions on how to compile Linux. It was a bit more complicated, but at least the 133 MHZ, 16MB computer ran without any problems. Well, 26 years later I still use Linux.
@Torviticus
@Torviticus 3 ай бұрын
Great video, I've never built a kernel outside Gentoo neat to see. I assumed it was both possible and well supported but id never tried... Must be nice not having to manually update grub config and initramfs.
@robertleemeyer
@robertleemeyer 3 ай бұрын
Thanks, DJ! I just happened to be compiling 6.7.9 this week as I'm working on some new drivers for prototype hardware. Very timely!
@CyberGizmo
@CyberGizmo 3 ай бұрын
Fantastic!
@AntonioGallo73
@AntonioGallo73 3 ай бұрын
Last time I recall compiling custom kernel was for Asterisk's PBX because some phone card drivers requires unofficial kernel patches to be applied.
@Nixima81
@Nixima81 3 ай бұрын
Interesting info. Never crossed my mind that you can compile you're own kernel and that could easily become Pandora's box later down the road. I'm only 3+ years in atm so it's a later project but something to think about. Thanks for sharing.
@savagepro9060
@savagepro9060 3 ай бұрын
Stupid me, I read “I am going to use Debian 12 stable ”. And I was thinking Tux and DJ WARE riding horses?
@CyberGizmo
@CyberGizmo 3 ай бұрын
LOL
@13thravenpurple94
@13thravenpurple94 3 ай бұрын
Excellent video 👍 Thank you 💜
@FarrellMcGovern
@FarrellMcGovern 3 ай бұрын
Ah, there was a day back in the 90's and early 2000's that I used to compile the kernel every time a new one was released. I then got a job creating a custom distro around 2002, and I had to patch the kernel source for the IBM RAID controller being used on the servers, and some enabled and disabled bits and pieces to keep the kernel size down. Sadly, it's been many years since I have typed "make xconfiig" or "make menuconfig" Fond memories...
@alec1575
@alec1575 3 ай бұрын
Great as always
@anon_y_mousse
@anon_y_mousse 3 ай бұрын
A lot of people look at it as unnecessary, but I'd say learning is always necessary. Never stop learning because the day you do is the day you cease to exist.
@LordHonkInc
@LordHonkInc 3 ай бұрын
Man, to think that the first time I tried installing gentoo with all the kernel configuration and such was before youtube even existed is wild. What I'd've given for the resources of today
@benderbg
@benderbg 3 ай бұрын
The first time when I had to recompile a kernel was during an attempt to make a 33600 modem with ISA interface work under Red Hat. It didn't help so I ended up buying an external version that used RS232 serial interface. US Robotics made some really good modems back in the day.
@CyberGizmo
@CyberGizmo 3 ай бұрын
I had one from TerraData, it was optimized for the unix discussion group transfers, not particularly fast as I recall it was 19.2Kbs, later I did switch over to USR
@AntonioGallo73
@AntonioGallo73 3 ай бұрын
I recall spending nights compiling starting at 22:30 and waking up at 6:30 to see the results
@CyberGizmo
@CyberGizmo 3 ай бұрын
and rinse and repeat when I hit an error...the good old days were not that great LOL
@AntonioGallo73
@AntonioGallo73 3 ай бұрын
@@CyberGizmo that's why I was launching kernel compiling before going to sleep :-) I create my own linux distribuon "Bad Penguin" that was far better then Red Hat 4.0 and Slackware :-P I can't believe I had my own CUI package manager better then SUSE :-P And a "control panel" like the one you had in SCO :-P Then LIBC6 and GNOME ruined me.... hahahaha it was impossibile (for a single teenager) to maintain it after that and I was in Italy and Internet was not great at such time. I had to use a FTP2EMAIL gateway to download bigger FTP at the office :-P
@georgH
@georgH 3 ай бұрын
I used to do it since around 2.0.32, stopped doing it early 2000s. It made sense at the time and it was fun, but with newer and more powerful hardware didn't feel the hassle was worth it anymore.
@wendellbirkett4224
@wendellbirkett4224 2 ай бұрын
Loved the flashback to the days I tweaked a kernel after booting Slackware from floppy on a 486DX.
@capability-snob
@capability-snob 3 ай бұрын
The patch sets I have run are capsicum (for real security) and MRI (for high-performance GC support). I don't know if there are patch sets people are commonly applying out there today.
@JohnnieWalkerGreen
@JohnnieWalkerGreen 3 ай бұрын
Thank you very much. I'm not having much luck compiling the kernel. My biggest problem is getting the correct ".config" file. Starting with "make menuconfig" often ends with a bloated kernel with giant modules. I usually start with "make x86_64_defconfig" and then trim with "trial and error and crash." Once I get a matching ".config," it will always be ' yes "" | make oldconfig.' Is there any good reference for trimming a virtual machine's ".config" file?
@CyberGizmo
@CyberGizmo 3 ай бұрын
I think I will need to work on the ideal VM .config file, actually hadn't thought about it. Thanks for the suggestion!
@JohnnieWalkerGreen
@JohnnieWalkerGreen 3 ай бұрын
@@CyberGizmo Please let me know your best ".config" of kernels for VMware, VirtualBox, UTM, qemu, and Proxmox. I would be happy to inform mine, too.
@davidweeks1997
@davidweeks1997 3 ай бұрын
Yup. That config goes, and goes, and goes…and goes… And that's just for the kernel. But WAIT! There's more!! Then you get to compile the applications too!!! gentoo is fun for this, being ideally a source distribution. "…and a good time was had by all. They lived happily ever after. The beginning."
@ur1friend437
@ur1friend437 3 ай бұрын
Thank you so much
@_chrisr_
@_chrisr_ 3 ай бұрын
I remember back in the day eagerly awaiting a new kernel release and getting it back to my machine and compiing it. That was back before the support for kernel modules so you needed to do custom builds to suit the hardware you had. no menu based config tool either - just a never ending list of y/n questions to answer!
@catchnkill
@catchnkill 3 ай бұрын
It is still there, i.e. your old way. DJ Ware issued a 'make menuconfig' and it gave him a ncurse style menu selection. If you type 'make config' you go back to your good old days to answer endless y/n questions. I have done that both. The final way is to 'make xconfig' which uses gui.
@linuxvoice1043
@linuxvoice1043 2 ай бұрын
Very great content, please start and teach Linux lpic1 tutorials in regular playlist
@lenwhatever4187
@lenwhatever4187 3 ай бұрын
I remember when I first started using Linux in the mid 90s, kernel builds were the only path to upgrade or even do a reasonable install. Most people did not want to waste memory (which was precious in those days) on a bloated kernel and a lot of distro kernels didn't have a lot of the drivers for normal devices. Then Kernel modules... In any case, because of the history of having to build you own all the time, the path to do so was relatively easy for the average Linux user (who admittedly was beyond today's variants). Building a kernel just to add/remove a module is still not hard. Some modules are internal so blacklisting is not effective.
@huyvole9724
@huyvole9724 2 ай бұрын
Hi sir, thanks for your sharing. Can you mark numeric into videos because it difficult to order mixed list
@ChadsHobies
@ChadsHobies 3 ай бұрын
This Gentoo user loves compiling custom kernals.
@guilherme5094
@guilherme5094 3 ай бұрын
👍And thanks DJ.
@swipekonme
@swipekonme 3 ай бұрын
the first thing i would propose is bottom up solutions ie where you are part of concentric circles pertaining to your situation for instance if you have laptop model x config y, that is the first circle, then model x is next, then the particular os, then the general os and so on. our world is top down, the biggest conspiracy imo
@itdevops
@itdevops 3 ай бұрын
U best ty
@CyberGizmo
@CyberGizmo 3 ай бұрын
Thank you )
@KimberlyWilliamsch
@KimberlyWilliamsch 3 ай бұрын
Agree
@bobshields6829
@bobshields6829 3 ай бұрын
As a driver writer compiling the kernel is a necessity. Thank god for Windows.
@brettlaw4346
@brettlaw4346 3 ай бұрын
Any input on Kernel Hardening?
@CyberGizmo
@CyberGizmo 3 ай бұрын
hmmm, that will take awhile to do in a video, but sure why not. Thanks for the suggestion
@rursus8354
@rursus8354 3 ай бұрын
Usually because you need a faster kernel, where some modules are compiled directly into the kernel, and else you need to remove all the stuff that you don't use. UPDATE: it is pretty *_rare_* that the kernel doesn't already contain the module that you need for your hardware, it is rather much common that you need a better and a later version of said module, or that it doesn't function well unless you compile it into the kernel, but yes: if you have old age or brand new hardware, you might need to compile a kernel to get it even working.
@andersjjensen
@andersjjensen 3 ай бұрын
Huh? I have never EVER had a problem where there was a difference between a driver whether the driver was a module or built in. In fact I always recompile my kernels so the only thing that ISN'T a module is support for initrdfs (for quite obvious reasons).
@retrocomputeruser
@retrocomputeruser 3 ай бұрын
I think the first feature to remove in the kernel is Audit. For a single user computer it seems a waste of a resource to me . Of course, I may be missing something why I shouldn't remove it.
@andersjjensen
@andersjjensen 3 ай бұрын
Minor pet peeve: it's "dash" not "minus". The reason I always compile my own kernels is a liiitle bit pedantic: I prefer to be able to see every single driver in use with lsmod. This means I compile my kernels with everything , except initrdfs, as a module. This does have the side effect that I need to generate my initrd by hand, but that's OK with me, as I know my hardware and the module dependencies.
@CyberGizmo
@CyberGizmo 3 ай бұрын
hahaha, actually the character is called a hyphen, it is also called a dash, and its also called a minus sign. - Source Christopher Sholes (the inventor of the typewriter). So all are correct.
@andersjjensen
@andersjjensen 3 ай бұрын
@@CyberGizmo Fair point. But "dash" is one syllable! :P
@ytuser13082011
@ytuser13082011 3 ай бұрын
I remember doing this looong time ago, when you really did not have a choice many times. Nowadays I can't even find a reason to do so, other than learning. Kernel is a very fast moving target, so unless you're doing it for LTS kernel release, it would be a waste of time [well, not really, as these days machines can compile kernel very quickly, admittedly].
@CyberGizmo
@CyberGizmo 3 ай бұрын
compile times are no longer over night like they used to be, and you are right very rare to need to resort to this, but a good skill to have.
@savagepro9060
@savagepro9060 3 ай бұрын
Why Compile a Linux Kernel from Source? Because you can’t in MacOS or Windows.
@savagepro9060
@savagepro9060 3 ай бұрын
Compiling FreeBSD is easier than doing Linux
@CyberGizmo
@CyberGizmo 3 ай бұрын
Faster to compile too
@clytle374
@clytle374 3 ай бұрын
Run Gentoo and that is just the way it's done
@peterjansen4826
@peterjansen4826 3 ай бұрын
The compilation of a kernel is easy enough, cleaning it up neatly is the challenge. On Arch in some cases compiling a kernel requires using makepkg but then the packagemanager pacman kjnows about it which is aw problem because there is no neat solution to remove the kernel via makepkg wiht how they set it up. So makepkg knows about the a kernel existing which doesn't exist anymore resulting in an errormessage after each update. It is required however that pacman knows about the extra kernel existing on your system because of hooks from other software.which needs to do something to make the non-standard kernel work for some things (like a virtual machine).
@LMB222
@LMB222 3 ай бұрын
I first compiled my kernel back in 1999 - and back then I didn't know either why one would fii that 😂
@viruslab1
@viruslab1 3 ай бұрын
cool 😎
@d00dEEE
@d00dEEE 3 ай бұрын
Ha ha, I've just been testing a new workstation's performance on cross-compiling OpenWrt with kernel 6.1 from scratch (make clean && time make -j32 world). ~3m20s for kernel, drivers and packages... Nice.
@wolfymaster
@wolfymaster 3 ай бұрын
WOAH! A beard!
@Adiga_50
@Adiga_50 3 ай бұрын
I was confused at first, from where Gnome jump on us, DJ was SSh to another machine 😅.
@CyberGizmo
@CyberGizmo 3 ай бұрын
exactly!
@danielpicassomunoz2752
@danielpicassomunoz2752 3 ай бұрын
Wished they had support to compile with GPU
@billfarley9015
@billfarley9015 3 ай бұрын
Compiling a kernel would be better probably if you know what you're doing. But for the rest of us using a ppa to install the Liquorix kernel would be a lot easier, for Ubuntu or Mint at least.
@savagepro9060
@savagepro9060 3 ай бұрын
What is the difference between Compiling a Kernel and building up ‘Linux From Scratch’
@AntonioGallo73
@AntonioGallo73 3 ай бұрын
quite a lot :) See "archlinux" or "freebsd" to see how it works recompiling a full distro.
@CyberGizmo
@CyberGizmo 3 ай бұрын
The compile is just compiling the kernel code, building Linux from Scratch is creating your own version full out Liniux distribution with all the packages, services, etc that you need to operate.
@backhdlp
@backhdlp 3 ай бұрын
I recently compiled the kernel, only took around 10 minutes, and my laptop isn't even that good.
@sponix2ipfw
@sponix2ipfw 3 ай бұрын
Your Debian looks a little bit weird with the Fedora logo in the bottom left corner of your screen
@77seban
@77seban 3 ай бұрын
Yeah I saw that too 🙂
@CyberGizmo
@CyberGizmo 3 ай бұрын
My workstation is Fedora on Asashi Linux, Debian was running on a VM
@arnorobinwerkman
@arnorobinwerkman 3 ай бұрын
I compile my own kernel, since i get faster boot times and it judt "feels" more responsive, after throwing out the junk i dont need. My kernel is about 200 mb, and its pretty fast.
@CyberGizmo
@CyberGizmo 3 ай бұрын
Very good!
@terrydaktyllus1320
@terrydaktyllus1320 3 ай бұрын
Without wishing to appear pedantic, do you mean that the RAM usage with that kernel when booted up in 200 mb? That bit I can believe... For me, the current 6.6.x kernel image sizes (in Gentoo) seem to be around 10-11 mb in size, so otherwise I don't understand where that 200 mb comes from.
@arnorobinwerkman
@arnorobinwerkman 3 ай бұрын
@@terrydaktyllus1320 the size on disk, vs the full blown kernel
@arnorobinwerkman
@arnorobinwerkman 3 ай бұрын
@@terrydaktyllus1320 ram usage is also less, and being optimized for my processor instead of generic build, it eels much faster
@arnorobinwerkman
@arnorobinwerkman 3 ай бұрын
arch kernel takes about 500mb kernel and kernel-headers
@sanathkumarchannagiri8663
@sanathkumarchannagiri8663 3 ай бұрын
I want to install Debian but I can't install packages
@CyberGizmo
@CyberGizmo 3 ай бұрын
Why not?
@savagepro9060
@savagepro9060 3 ай бұрын
🤨🤔Hmm, packages you say? Have you tried Fedex or DHL?🤭🤭🤭 Sorry, I just had to!
@sbrazenor2
@sbrazenor2 3 ай бұрын
I just use the mainline kernel installer. It's less work.
@CyberGizmo
@CyberGizmo 3 ай бұрын
Oh from ubuntu? Good way to get one, but also a good way to break snaps
@sbrazenor2
@sbrazenor2 3 ай бұрын
@@CyberGizmo I haven't really been using snaps. You also have to do an update to apt to correct some link issues, but that's a single command. It just takes fewer steps. Will manually compiling stop Snap errors?
@copperchatter6890
@copperchatter6890 3 ай бұрын
I hope your neural net gets digital citizenship so that you can mentor in perpetuity.
@user-gh4lv2ub2j
@user-gh4lv2ub2j 3 ай бұрын
Why? Because I want bluetooth to work and my laptop has a 2nd-rate non-intel bluetooth adapter XD
@danielpicassomunoz2752
@danielpicassomunoz2752 3 ай бұрын
May I ask how do you do it? I'm facing similar challenges with the bt
@adjusted-bunny
@adjusted-bunny 3 ай бұрын
First!
@isopticon
@isopticon 3 ай бұрын
Hold on, something fishy up here! You are in KDE clearly, even used Firefox for the download, then all of the sudden after the compile, you are in GNOME! What a hell happened here? From 6 cores to PROXMOX VM. Fishy very fishy!
@CyberGizmo
@CyberGizmo 3 ай бұрын
Yeah I use Proxmox for my kernel builds...nothing fishy, my workstarions is Fedora on Asahi Linux.
@isopticon
@isopticon 3 ай бұрын
@@CyberGizmo I didn't mean it this way, one assumed that you were running Debian in its entirity on this PC, as you have clicked Firefox to download the Kernel and then unpacked it from the Terminal and compiled it. I'm sorry I pay attention, geek is a geek. I watch all your videos, you said your distro of choice is Debian, I knew from your old videos that you are RedHat junky, and you used to run Fedora in the past. I keep forgeting that, we are all guilty of distro hopping and if you have few machines it can get confusing. Thanks so much!
@CyberGizmo
@CyberGizmo 3 ай бұрын
@@isopticon and no worries, text is always hard to show the right emotion, and I didn't mean my reply to sound defensive either. You are right I did not show the upload from fedora to debian, figuring people would assume that,,,and no worries my friend,
@TrippleXD545
@TrippleXD545 26 күн бұрын
very 1337 video
@NeuroScientician
@NeuroScientician 3 ай бұрын
This is about as useful as soldering your own ram.
@savagepro9060
@savagepro9060 3 ай бұрын
Saying you’re not into Linux, without saying it!
@NeuroScientician
@NeuroScientician 3 ай бұрын
@@savagepro9060 Let's not pretend that it is anything more than just hobby stuff with no actual utility.
@savagepro9060
@savagepro9060 3 ай бұрын
@@NeuroScientician " . . . anything more than just hobby stuff . . ." Uh, wasn't that HOW Linux got started? Uh?
@terrydaktyllus1320
@terrydaktyllus1320 3 ай бұрын
I don't need to solder my own RAM because I can buy the right RAM that I need for any computing task that I have to complete. Were that not the case, I might well need to solder my own RAM. I do need to compile my own kernels because I build Gentoo on many different types of platforms, including some low powered SBCs and older computing platforms where every byte of "the RAM that I don't have to solder myself" saved counts. If you too don't have to solder your own RAM or compile your own kernels then I am entirely happy for you as clearly an extremely fulfilled individual with entirely different computing requirements to me. Well done, sir! Now, if you'll excuse me, I need to continue fulfilling my computing requirements with a kernel compilation or two. Next time remind me to bring some cheese to go with your whine.
@NeuroScientician
@NeuroScientician 3 ай бұрын
@@terrydaktyllus1320 Nobody needs to compile the kernel, it's even more meaningless than soldering ram. Pointless busy work to look special.
@77seban
@77seban 3 ай бұрын
I have never compile in my life. I am linux user like 6years... My first linux was mandrake in 1999-2001 for 2years.. thanks.
@JohnnieWalkerGreen
@JohnnieWalkerGreen 3 ай бұрын
You need up to 270 MB memory to boot the standard debian Linux kernel on a VirtualBox. A selfcompiled kernel needs only 130 MB.
@andersjjensen
@andersjjensen 3 ай бұрын
@@JohnnieWalkerGreenWith 1TB (1,000,000 MB!) costing Gen4 3.5GB/s NVMe drives costing $60 you have to be a real damn stickler to worry about 140MB :P
@andersjjensen
@andersjjensen 3 ай бұрын
If you just want a computer "that does computer stuff", and you're not a hardware enthusiast who constantly gets the itch, then there is no practical reason to do so. However, if there is nothing you wanna watch on Netflix and your Steam Library is boring you to tears, then learning all the ins and outs of the deep bowels of a Linux system is free, entertaining and a hobby that will never cost you a single cent, but it WILL "massage your brain" and give you an enormous appreciation of what goes into quality software production.
@JohnnieWalkerGreen
@JohnnieWalkerGreen 3 ай бұрын
@@andersjjensen The point is that the kernel becomes very bloated with things that are not needed. BTW, the first Unix machine I used was a Dual System 83/20, MC68000 CPU, with only 1 MB RAM and a 20MB 8" Fujitsu disk.
@Winnetou17
@Winnetou17 3 ай бұрын
@@andersjjensen I don't think anybody cares about the space on the disk, it's the space in RAM that's important. Not just how much, say, percentage-wise, it takes, but also because if it's smaller it loads faster, and might have better cache performance. That being said, I don't know where those values are taken from. I do have a self compiled kernel, which is the norm on Gentoo, what I use. I did try to have it minimal, but I'm still learning (and also, I do need stuff, it's a general-purpose laptop). The only notable thing that I didn't include is any kind of bluetooth. And currently I see that the initramfs has 27 MB (and was only 7 MB in 6.6 kernel versions, I'm now curious why) and the vmlinuz has only 15 MB.
Forge the Latest: Upgrading Debian Stable to Testing
17:05
DJ Ware
Рет қаралды 4,2 М.
Bash Scripting on Linux (The Complete Guide) Class 05 - If Statements
31:43
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 112 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 11 МЛН
End of Support: Windows 10 - What to do
17:38
DJ Ware
Рет қаралды 296 М.
The Linux Experience
31:00
Bog
Рет қаралды 271 М.
Linux from Scratch
2:35:42
Titus Tech Talk
Рет қаралды 72 М.
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 220 М.
Plan 9 from Bell Labs
15:05
DJ Ware
Рет қаралды 20 М.
Signals. I spent 2 years to understand this part.
21:24
kimylamp
Рет қаралды 177 М.
Installing Linux Like It's 1992
17:47
Old Computers Sucked
Рет қаралды 76 М.
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 136 М.
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 837 М.
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 284 М.