Тёмный

Why Compile a Linux Kernel from Source? 

DJ Ware
Подписаться 46 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@CyberGizmo
@CyberGizmo 6 месяцев назад
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...
@carpetbomberz
@carpetbomberz 6 месяцев назад
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 6 месяцев назад
@@carpetbomberz 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 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
Yes and filesystems as well. Things are much easier today,
@NeverTrust298
@NeverTrust298 5 месяцев назад
wow so I'm a newbie does the compilation process damage the cpu?
@SpinelessHeretics
@SpinelessHeretics 4 месяца назад
@@NeverTrust298 I've never Heard of this happening
@antiwokehuman
@antiwokehuman 3 дня назад
@@NeverTrust298 ofcourse not. Cpu was made to do this kind of work. Besides, modern cups are so reliable, it’s almost impossible to damage one
@terrydaktyllus1320
@terrydaktyllus1320 6 месяцев назад
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 6 месяцев назад
Same here, in all aspects 😊
@crayzeape2230
@crayzeape2230 6 месяцев назад
Same here, so that makes at least three of us.
@ttybitnik
@ttybitnik 6 месяцев назад
One day it will be 4. Getting there haha
@blucobalt8688
@blucobalt8688 3 месяца назад
Yup. This is how you do it. Start off with a "make localmodconfig" and just reuse that config through the years......
@drkskwlkr
@drkskwlkr 6 месяцев назад
Due to the weirdness of RU-vid algorithms, I hadn't watched a Cybergizmo episode for several months. Totally loving the beard!!
@bepis2679
@bepis2679 6 месяцев назад
I was gonna say the same thing lol
@robertleemeyer
@robertleemeyer 6 месяцев назад
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 6 месяцев назад
Fantastic!
@AntonioGallo73
@AntonioGallo73 6 месяцев назад
Last time I recall compiling custom kernel was for Asterisk's PBX because some phone card drivers requires unofficial kernel patches to be applied.
@Torviticus
@Torviticus 6 месяцев назад
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.
@benderbg
@benderbg 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
I recall spending nights compiling starting at 22:30 and waking up at 6:30 to see the results
@CyberGizmo
@CyberGizmo 6 месяцев назад
and rinse and repeat when I hit an error...the good old days were not that great LOL
@AntonioGallo73
@AntonioGallo73 6 месяцев назад
@@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
@JohnnieWalkerGreen
@JohnnieWalkerGreen 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@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.
@savagepro9060
@savagepro9060 6 месяцев назад
Why Compile a Linux Kernel from Source? Because you can’t in MacOS or Windows.
@huyvole9724
@huyvole9724 6 месяцев назад
Hi sir, thanks for your sharing. Can you mark numeric into videos because it difficult to order mixed list
@itdevops
@itdevops 6 месяцев назад
U best ty
@CyberGizmo
@CyberGizmo 6 месяцев назад
Thank you )
@d00dEEE
@d00dEEE 6 месяцев назад
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.
@LMB222
@LMB222 6 месяцев назад
I first compiled my kernel back in 1999 - and back then I didn't know either why one would fii that 😂
@billfarley9015
@billfarley9015 6 месяцев назад
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.
@viruslab1
@viruslab1 6 месяцев назад
cool 😎
@dingokidneys
@dingokidneys 6 месяцев назад
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.
@whtiequillBj
@whtiequillBj 6 месяцев назад
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.
@theplaymakerno1
@theplaymakerno1 6 месяцев назад
My favorite RU-vidr providing us more useful information! Thank you for existing, sir!
@savagepro9060
@savagepro9060 6 месяцев назад
Stupid me, I read “I am going to use Debian 12 stable ”. And I was thinking Tux and DJ WARE riding horses?
@CyberGizmo
@CyberGizmo 6 месяцев назад
LOL
@savagepro9060
@savagepro9060 6 месяцев назад
Compiling FreeBSD is easier than doing Linux
@CyberGizmo
@CyberGizmo 6 месяцев назад
Faster to compile too
@isopticon
@isopticon 6 месяцев назад
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.
@ChadsHobies
@ChadsHobies 6 месяцев назад
This Gentoo user loves compiling custom kernals.
@m1k3e
@m1k3e 6 месяцев назад
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
@matthewdinslage7179
@matthewdinslage7179 6 месяцев назад
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 6 месяцев назад
Slackware ❤
@SIackware
@SIackware 6 месяцев назад
Praise Bob!
@CyberGizmo
@CyberGizmo 6 месяцев назад
Slackware!
@andersjjensen
@andersjjensen 6 месяцев назад
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 6 месяцев назад
@@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.
@brettlaw4346
@brettlaw4346 6 месяцев назад
Any input on Kernel Hardening?
@CyberGizmo
@CyberGizmo 6 месяцев назад
hmmm, that will take awhile to do in a video, but sure why not. Thanks for the suggestion
@No-no-no-no-nope
@No-no-no-no-nope 6 месяцев назад
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.
@georgH
@georgH 6 месяцев назад
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.
@capability-snob
@capability-snob 6 месяцев назад
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.
@Nixima81
@Nixima81 6 месяцев назад
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.
@clytle374
@clytle374 6 месяцев назад
Run Gentoo and that is just the way it's done
@FarrellMcGovern
@FarrellMcGovern 6 месяцев назад
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 6 месяцев назад
Great as always
@isopticon
@isopticon 6 месяцев назад
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 6 месяцев назад
Yeah I use Proxmox for my kernel builds...nothing fishy, my workstarions is Fedora on Asahi Linux.
@isopticon
@isopticon 6 месяцев назад
@@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 6 месяцев назад
@@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,
@wendellbirkett4224
@wendellbirkett4224 5 месяцев назад
Loved the flashback to the days I tweaked a kernel after booting Slackware from floppy on a 486DX.
@davidweeks1997
@davidweeks1997 6 месяцев назад
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."
@repairstudio4940
@repairstudio4940 6 месяцев назад
You sir are absolutely awesome! This was most educational. I always look forward to all your content, thank you! 🎉
@retrocomputeruser
@retrocomputeruser 6 месяцев назад
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.
@abobader
@abobader 6 месяцев назад
Nice one DJ, many thanks for this, sure indeed bring some old memories, well done!
@backhdlp
@backhdlp 6 месяцев назад
I recently compiled the kernel, only took around 10 minutes, and my laptop isn't even that good.
@anon_y_mousse
@anon_y_mousse 6 месяцев назад
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.
@bobshields6829
@bobshields6829 6 месяцев назад
As a driver writer compiling the kernel is a necessity. Thank god for Windows.
@LordHonkInc
@LordHonkInc 6 месяцев назад
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
@swipekonme
@swipekonme 6 месяцев назад
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
@ceehacker386
@ceehacker386 Месяц назад
Gentoo broke me and I’ve been technologically fearless ever since
@13thravenpurple94
@13thravenpurple94 6 месяцев назад
Excellent video 👍 Thank you 💜
@linuxvoice1043
@linuxvoice1043 5 месяцев назад
Very great content, please start and teach Linux lpic1 tutorials in regular playlist
@savagepro9060
@savagepro9060 6 месяцев назад
What is the difference between Compiling a Kernel and building up ‘Linux From Scratch’
@AntonioGallo73
@AntonioGallo73 6 месяцев назад
quite a lot :) See "archlinux" or "freebsd" to see how it works recompiling a full distro.
@CyberGizmo
@CyberGizmo 6 месяцев назад
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.
@ur1friend437
@ur1friend437 6 месяцев назад
Thank you so much
@Appalling68
@Appalling68 6 месяцев назад
Hey DJ. Well this video was just fascinating. Thank you for this!!
@CyberGizmo
@CyberGizmo 6 месяцев назад
Glad you enjoyed it and great to see you again!
@danielpicassomunoz2752
@danielpicassomunoz2752 6 месяцев назад
Wished they had support to compile with GPU
@ytuser13082011
@ytuser13082011 6 месяцев назад
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 6 месяцев назад
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.
@adjusted-bunny
@adjusted-bunny 6 месяцев назад
First!
@James-l5s7k
@James-l5s7k 6 месяцев назад
Why? Because I want bluetooth to work and my laptop has a 2nd-rate non-intel bluetooth adapter XD
@danielpicassomunoz2752
@danielpicassomunoz2752 6 месяцев назад
May I ask how do you do it? I'm facing similar challenges with the bt
@andersjjensen
@andersjjensen 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@CyberGizmo Fair point. But "dash" is one syllable! :P
@peterjansen4826
@peterjansen4826 6 месяцев назад
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).
@lenwhatever4187
@lenwhatever4187 6 месяцев назад
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.
@TrippleXD545
@TrippleXD545 4 месяца назад
very 1337 video
@guilherme5094
@guilherme5094 6 месяцев назад
👍And thanks DJ.
@wolfymaster
@wolfymaster 6 месяцев назад
WOAH! A beard!
@KimberlyWilliamsch
@KimberlyWilliamsch 6 месяцев назад
Agree
@copperchatter6890
@copperchatter6890 6 месяцев назад
I hope your neural net gets digital citizenship so that you can mentor in perpetuity.
@_chrisr_
@_chrisr_ 6 месяцев назад
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 6 месяцев назад
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.
@rursus8354
@rursus8354 6 месяцев назад
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 6 месяцев назад
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).
@Adiga_50
@Adiga_50 6 месяцев назад
I was confused at first, from where Gnome jump on us, DJ was SSh to another machine 😅.
@CyberGizmo
@CyberGizmo 6 месяцев назад
exactly!
@sbrazenor2
@sbrazenor2 6 месяцев назад
I just use the mainline kernel installer. It's less work.
@CyberGizmo
@CyberGizmo 6 месяцев назад
Oh from ubuntu? Good way to get one, but also a good way to break snaps
@sbrazenor2
@sbrazenor2 6 месяцев назад
@@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?
@sponix2ipfw
@sponix2ipfw 6 месяцев назад
Your Debian looks a little bit weird with the Fedora logo in the bottom left corner of your screen
@77seban
@77seban 6 месяцев назад
Yeah I saw that too 🙂
@CyberGizmo
@CyberGizmo 6 месяцев назад
My workstation is Fedora on Asashi Linux, Debian was running on a VM
@sanathkumarchannagiri8663
@sanathkumarchannagiri8663 6 месяцев назад
I want to install Debian but I can't install packages
@CyberGizmo
@CyberGizmo 6 месяцев назад
Why not?
@savagepro9060
@savagepro9060 6 месяцев назад
🤨🤔Hmm, packages you say? Have you tried Fedex or DHL?🤭🤭🤭 Sorry, I just had to!
@arnorobinwerkman
@arnorobinwerkman 6 месяцев назад
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 6 месяцев назад
Very good!
@terrydaktyllus1320
@terrydaktyllus1320 6 месяцев назад
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 6 месяцев назад
@@terrydaktyllus1320 the size on disk, vs the full blown kernel
@arnorobinwerkman
@arnorobinwerkman 6 месяцев назад
@@terrydaktyllus1320 ram usage is also less, and being optimized for my processor instead of generic build, it eels much faster
@arnorobinwerkman
@arnorobinwerkman 6 месяцев назад
arch kernel takes about 500mb kernel and kernel-headers
@NeuroScientician
@NeuroScientician 6 месяцев назад
This is about as useful as soldering your own ram.
@savagepro9060
@savagepro9060 6 месяцев назад
Saying you’re not into Linux, without saying it!
@NeuroScientician
@NeuroScientician 6 месяцев назад
@@savagepro9060 Let's not pretend that it is anything more than just hobby stuff with no actual utility.
@savagepro9060
@savagepro9060 6 месяцев назад
@@NeuroScientician " . . . anything more than just hobby stuff . . ." Uh, wasn't that HOW Linux got started? Uh?
@terrydaktyllus1320
@terrydaktyllus1320 6 месяцев назад
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 6 месяцев назад
@@terrydaktyllus1320 Nobody needs to compile the kernel, it's even more meaningless than soldering ram. Pointless busy work to look special.
@77seban
@77seban 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@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 6 месяцев назад
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 6 месяцев назад
@@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 6 месяцев назад
@@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
How Linux Kernel Prints Text on Screen
12:46
Просмотров 71 тыс.
titan tvman's plan (skibidi toilet 77)
01:00
Просмотров 5 млн
Офицер, я всё объясню
01:00
Просмотров 3,9 млн
The Untold Unix Story
20:40
Просмотров 111 тыс.
* Snapdragon X Elite for Linux: Taming the Beast
17:59
SELinux Part1
9:11
Просмотров 2,8 тыс.
How to compile a custom Linux kernel
15:32
Просмотров 89 тыс.
Linux Internals : Interprocess Communication
24:17
Просмотров 42 тыс.
Become a shell wizard in ~12 mins
12:25
Просмотров 250 тыс.
What's New in FreeBSD 14.1?
13:54
Просмотров 13 тыс.
DEMYSTIFY:  The Choice Between SELinux or AppArmor
9:29
Tips For Customizing Your Linux Kernel
8:58
Просмотров 98 тыс.
titan tvman's plan (skibidi toilet 77)
01:00
Просмотров 5 млн