Why Compile a Linux Kernel from Source?

  Переглядів 26,816

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

КОМЕНТАРІ: 148
@CyberGizmo
@CyberGizmo 2 місяці тому
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 2 місяці тому
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 2 місяці тому
@@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 2 місяці тому
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 2 місяці тому
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 2 місяці тому
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 2 місяці тому
Yes and filesystems as well. Things are much easier today,
@NeverTrust298
@NeverTrust298 Місяць тому
wow so I'm a newbie does the compilation process damage the cpu?
@dingokidneys
@dingokidneys 2 місяці тому
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 2 місяці тому
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 2 місяці тому
My favorite UKpostsr providing us more useful information! Thank you for existing, sir!
@terrydaktyllus1320
@terrydaktyllus1320 2 місяці тому
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 2 місяці тому
Same here, in all aspects 😊
@crayzeape2230
@crayzeape2230 2 місяці тому
Same here, so that makes at least three of us.
@ttybitnik
@ttybitnik Місяць тому
One day it will be 4. Getting there haha
@isopticon
@isopticon 2 місяці тому
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.
@matthewdinslage7179
@matthewdinslage7179 2 місяці тому
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 2 місяці тому
Slackware ❤
@yep596
@yep596 2 місяці тому
Praise Bob!
@CyberGizmo
@CyberGizmo 2 місяці тому
Slackware!
@andersjjensen
@andersjjensen 2 місяці тому
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 2 місяці тому
@@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.
@Torviticus
@Torviticus 2 місяці тому
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.
@whtiequillBj
@whtiequillBj 2 місяці тому
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.
@abobader
@abobader 2 місяці тому
Nice one DJ, many thanks for this, sure indeed bring some old memories, well done!
@repairstudio4940
@repairstudio4940 2 місяці тому
You sir are absolutely awesome! This was most educational. I always look forward to all your content, thank you! 🎉
@AntonioGallo73
@AntonioGallo73 2 місяці тому
Last time I recall compiling custom kernel was for Asterisk's PBX because some phone card drivers requires unofficial kernel patches to be applied.
@Appalling68
@Appalling68 2 місяці тому
Hey DJ. Well this video was just fascinating. Thank you for this!!
@CyberGizmo
@CyberGizmo 2 місяці тому
Glad you enjoyed it and great to see you again!
@drkskwlkr
@drkskwlkr 2 місяці тому
Due to the weirdness of UKposts algorithms, I hadn't watched a Cybergizmo episode for several months. Totally loving the beard!!
@bepis2679
@bepis2679 2 місяці тому
I was gonna say the same thing lol
@Nixima81
@Nixima81 2 місяці тому
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.
@13thravenpurple94
@13thravenpurple94 2 місяці тому
Excellent video 👍 Thank you 💜
@alec1575
@alec1575 2 місяці тому
Great as always
@robertleemeyer
@robertleemeyer 2 місяці тому
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 2 місяці тому
Fantastic!
@FarrellMcGovern
@FarrellMcGovern 2 місяці тому
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...
@No-no-no-no-nope
@No-no-no-no-nope 2 місяці тому
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.
@JohnnieWalkerGreen
@JohnnieWalkerGreen 2 місяці тому
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 2 місяці тому
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 2 місяці тому
@@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.
@anon_y_mousse
@anon_y_mousse 2 місяці тому
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 2 місяці тому
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
@wendellbirkett4224
@wendellbirkett4224 22 дні тому
Loved the flashback to the days I tweaked a kernel after booting Slackware from floppy on a 486DX.
@benderbg
@benderbg 2 місяці тому
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 2 місяці тому
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
@ur1friend437
@ur1friend437 2 місяці тому
Thank you so much
@georgH
@georgH 2 місяці тому
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.
@savagepro9060
@savagepro9060 2 місяці тому
Stupid me, I read “I am going to use Debian 12 stable ”. And I was thinking Tux and DJ WARE riding horses?
@CyberGizmo
@CyberGizmo 2 місяці тому
LOL
@_chrisr_
@_chrisr_ 2 місяці тому
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 2 місяці тому
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.
@AntonioGallo73
@AntonioGallo73 2 місяці тому
I recall spending nights compiling starting at 22:30 and waking up at 6:30 to see the results
@CyberGizmo
@CyberGizmo 2 місяці тому
and rinse and repeat when I hit an error...the good old days were not that great LOL
@AntonioGallo73
@AntonioGallo73 2 місяці тому
@@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
@capability-snob
@capability-snob 2 місяці тому
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.
@linuxvoice1043
@linuxvoice1043 22 дні тому
Very great content, please start and teach Linux lpic1 tutorials in regular playlist
@guilherme5094
@guilherme5094 2 місяці тому
👍And thanks DJ.
@ChadsHobies
@ChadsHobies 2 місяці тому
This Gentoo user loves compiling custom kernals.
@davidweeks1997
@davidweeks1997 2 місяці тому
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."
@huyvole9724
@huyvole9724 Місяць тому
Hi sir, thanks for your sharing. Can you mark numeric into videos because it difficult to order mixed list
@savagepro9060
@savagepro9060 2 місяці тому
Why Compile a Linux Kernel from Source? Because you can’t in MacOS or Windows.
@brettlaw4346
@brettlaw4346 2 місяці тому
Any input on Kernel Hardening?
@CyberGizmo
@CyberGizmo 2 місяці тому
hmmm, that will take awhile to do in a video, but sure why not. Thanks for the suggestion
@savagepro9060
@savagepro9060 2 місяці тому
Compiling FreeBSD is easier than doing Linux
@CyberGizmo
@CyberGizmo 2 місяці тому
Faster to compile too
@swipekonme
@swipekonme 2 місяці тому
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
@lenwhatever4187
@lenwhatever4187 2 місяці тому
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.
@KimberlyWilliamsch
@KimberlyWilliamsch 2 місяці тому
Agree
@clytle374
@clytle374 2 місяці тому
Run Gentoo and that is just the way it's done
@itdevops
@itdevops Місяць тому
U best ty
@CyberGizmo
@CyberGizmo Місяць тому
Thank you )
@bobshields6829
@bobshields6829 2 місяці тому
As a driver writer compiling the kernel is a necessity. Thank god for Windows.
@retrocomputeruser
@retrocomputeruser 2 місяці тому
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 2 місяці тому
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 2 місяці тому
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 2 місяці тому
@@CyberGizmo Fair point. But "dash" is one syllable! :P
@rursus8354
@rursus8354 2 місяці тому
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 2 місяці тому
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).
@d00dEEE
@d00dEEE 2 місяці тому
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.
@viruslab1
@viruslab1 2 місяці тому
cool 😎
@ytuser13082011
@ytuser13082011 2 місяці тому
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 2 місяці тому
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.
@peterjansen4826
@peterjansen4826 2 місяці тому
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).
@billfarley9015
@billfarley9015 2 місяці тому
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.
@LMB222
@LMB222 2 місяці тому
I first compiled my kernel back in 1999 - and back then I didn't know either why one would fii that 😂
@backhdlp
@backhdlp 2 місяці тому
I recently compiled the kernel, only took around 10 minutes, and my laptop isn't even that good.
@wolfymaster
@wolfymaster 2 місяці тому
WOAH! A beard!
@Adiga_50
@Adiga_50 2 місяці тому
I was confused at first, from where Gnome jump on us, DJ was SSh to another machine 😅.
@CyberGizmo
@CyberGizmo 2 місяці тому
exactly!
@savagepro9060
@savagepro9060 2 місяці тому
What is the difference between Compiling a Kernel and building up ‘Linux From Scratch’
@AntonioGallo73
@AntonioGallo73 2 місяці тому
quite a lot :) See "archlinux" or "freebsd" to see how it works recompiling a full distro.
@CyberGizmo
@CyberGizmo 2 місяці тому
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.
@danielpicassomunoz2752
@danielpicassomunoz2752 2 місяці тому
Wished they had support to compile with GPU
@arnorobinwerkman
@arnorobinwerkman 2 місяці тому
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 2 місяці тому
Very good!
@terrydaktyllus1320
@terrydaktyllus1320 2 місяці тому
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 2 місяці тому
@@terrydaktyllus1320 the size on disk, vs the full blown kernel
@arnorobinwerkman
@arnorobinwerkman 2 місяці тому
@@terrydaktyllus1320 ram usage is also less, and being optimized for my processor instead of generic build, it eels much faster
@arnorobinwerkman
@arnorobinwerkman 2 місяці тому
arch kernel takes about 500mb kernel and kernel-headers
@sponix2ipfw
@sponix2ipfw 2 місяці тому
Your Debian looks a little bit weird with the Fedora logo in the bottom left corner of your screen
@77seban
@77seban 2 місяці тому
Yeah I saw that too 🙂
@CyberGizmo
@CyberGizmo 2 місяці тому
My workstation is Fedora on Asashi Linux, Debian was running on a VM
@sanathkumarchannagiri8663
@sanathkumarchannagiri8663 2 місяці тому
I want to install Debian but I can't install packages
@CyberGizmo
@CyberGizmo 2 місяці тому
Why not?
@savagepro9060
@savagepro9060 2 місяці тому
🤨🤔Hmm, packages you say? Have you tried Fedex or DHL?🤭🤭🤭 Sorry, I just had to!
@adjusted-bunny
@adjusted-bunny 2 місяці тому
First!
@sbrazenor2
@sbrazenor2 2 місяці тому
I just use the mainline kernel installer. It's less work.
@CyberGizmo
@CyberGizmo 2 місяці тому
Oh from ubuntu? Good way to get one, but also a good way to break snaps
@sbrazenor2
@sbrazenor2 2 місяці тому
@@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 2 місяці тому
I hope your neural net gets digital citizenship so that you can mentor in perpetuity.
@user-gh4lv2ub2j
@user-gh4lv2ub2j 2 місяці тому
Why? Because I want bluetooth to work and my laptop has a 2nd-rate non-intel bluetooth adapter XD
@danielpicassomunoz2752
@danielpicassomunoz2752 2 місяці тому
May I ask how do you do it? I'm facing similar challenges with the bt
@isopticon
@isopticon 2 місяці тому
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 2 місяці тому
Yeah I use Proxmox for my kernel builds...nothing fishy, my workstarions is Fedora on Asahi Linux.
@isopticon
@isopticon 2 місяці тому
@@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 2 місяці тому
@@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,
@NeuroScientician
@NeuroScientician 2 місяці тому
This is about as useful as soldering your own ram.
@savagepro9060
@savagepro9060 2 місяці тому
Saying you’re not into Linux, without saying it!
@NeuroScientician
@NeuroScientician 2 місяці тому
@@savagepro9060 Let's not pretend that it is anything more than just hobby stuff with no actual utility.
@savagepro9060
@savagepro9060 2 місяці тому
@@NeuroScientician " . . . anything more than just hobby stuff . . ." Uh, wasn't that HOW Linux got started? Uh?
@terrydaktyllus1320
@terrydaktyllus1320 2 місяці тому
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 2 місяці тому
@@terrydaktyllus1320 Nobody needs to compile the kernel, it's even more meaningless than soldering ram. Pointless busy work to look special.
@77seban
@77seban 2 місяці тому
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 2 місяці тому
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 2 місяці тому
@@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 2 місяці тому
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 2 місяці тому
@@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 2 місяці тому
@@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
Переглядів 3,7 тис.
The Untold Unix Story
20:40
DJ Ware
Переглядів 107 тис.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Переглядів 861 тис.
Этого От Него Никто Не Ожидал 😂
00:19
Глеб Рандалайнен
Переглядів 10 млн
Wubuntu, the Dubious Linux Windows
15:22
Action Retro
Переглядів 279 тис.
Mastering Memory: Allocation Techniques in C, C++, and ARM Assembly
17:05
Network Share Folders on Linux (SMB EASY) | Arch/Manjaro/EndeavourOS, & Linux~
6:48
How The 'awk' Command Made Me A 10x Engineer
10:40
RobertElderSoftware
Переглядів 165 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
End of Support: Windows 10 - What to do
17:38
DJ Ware
Переглядів 199 тис.
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Переглядів 184 тис.
Linus Torvalds: Speaks on Fatigue and the Future of Linux
6:04
SavvyNik
Переглядів 60 тис.
Ubuntu 24.04: An Excellent Linux Distro
16:52
ExplainingComputers
Переглядів 136 тис.
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Переглядів 40 тис.
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Переглядів 412 тис.
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 5 млн