It’s not really a big deal, but I am currently writing this using a linux kernel I compiled from source, which certainly feels like an accomplishment. The Arch Wiki has made the process fairly easy to follow. I just took the stock Arch Linux configuration without changes for now.
The most important part of this is of course that I have the option to do that, to take the source code of this incredible project and build my own kernel binary.
Bel - [Space] Lion ( @BelPolaris@pawb.social ) English32•2 years agoThat we can make software unique to our needs is one of these best parts of software freedom. Good for you!
Papamousse ( @Frederic@beehaw.org ) English30•2 years agoI often did this for years, using -march=corei7 and -mtune=skylake or whatever was the best option for my cpu, patching with brainfuck scheduler, etc.
Now I don’t care really 😑
It’s always cool to tinker with kernel and config, congrats 🎉
Deebster ( @Deebster@lemmy.ml ) English36•2 years agoAs a student I wasted so much time mucking around with flags and settings in Gentoo. It definitely wasn’t pointless since I learned so much, but I didn’t need to sit there and watch it compile as much as I did.
It was pleasing to watch though, just like defrag in Windows.
melroy ( @melroy@kbin.melroy.org ) 17•2 years agojust like defrag in Windows
That felt more a horror for me.
vd1n ( @vd1n@lemmy.ml ) 18•2 years agoDefrag all night and wake up to the sound of the hard drive failing.
arthur ( @arthur@lemmy.zip ) 8•2 years agoNow that’s horror.
melroy ( @melroy@kbin.melroy.org ) 2•2 years agoYou have backups. Right. Right??
sin_free_for_00_days ( @sin_free_for_00_days@lemmy.one ) 2•2 years agoA friend of mine is a musician. About a decade or two ago I went over to his house and he said that he had to get a new fan to fix his computer. I asked him what was going on, so he turned it on and I heard that tick-tick-tick of the read head. I had to let him know it was his hard drive. He had a lot backed up, but not everything, and not the stuff he’d been working on the past couple weeks. Just a bummer. But he did set up a backup program after that.
melroy ( @melroy@kbin.melroy.org ) 5•2 years agoahh what a shame. I have: https://kernel.melroy.org/.
But I also didn’t had the time to create new kernels. My PC is too slow at the moment. hahaha. Just wait… maybe I will get the latest threadripper. Instead of the first -gen i7 from 2008.
melroy ( @melroy@kbin.melroy.org ) 21•2 years agoMaybe it’s not a big deal… But I still remember the first time I compiled the Linux kernel. It feels good. Well done!!
TheImpressiveX ( @TheImpressiveX@lemmy.ml ) English20•2 years agoThis is the best part of free/libre/open-source software. Even if you would never want or need to compile software yourself, the fact that you have the option to do so, and the opportunity to learn how the software works, is what makes FLOSS superior to proprietary software IMO.
I just compiled Handbrake from source a few minutes ago, and I know how you feel. Best of luck in your future code-compiling endeavors.
Muddybulldog ( @muddybulldog@mylemmy.win ) English19•2 years agoAchievement unlocked… now try this… https://www.linuxfromscratch.org/lfs/
happyhippo ( @happyhippo@feddit.it ) English7•2 years ago8MB for an entire thing running a web server.
Mind: blown
floofloof ( @floofloof@lemmy.ca ) English16•2 years agoHow long did it take to compile?
I didn’t really keep track, but I would estimate around 10-15 minutes on a Ryzen 5800X.
db2 ( @db2@lemmy.one ) English3•2 years agoLast time I compiled a kernel it was on a bus-overclocked K6-3/500 (higher bus, lower multiplier).
kopper [they/them] ( @ShittyKopper@lemmy.blahaj.zone ) English8•2 years agonot OP but on my i7 7700K a fully-featured kernel takes about 2 hours or so to compile. if i minimize the kernel to only the modules i need i can get it down to 20-30 minutes (clean). incremental compiles barely hit 5-10 mins
overall not a big deal, especially compared to something like firefox (or god forbid chromium). or gcc with pgo (which is technically cheating because it compiles itself 3 times if you enable pgo)
oo1 ( @oo1@kbin.social ) 12•2 years agoyou win one on these
https://www.jeffgeerling.com/sites/default/files/images/800.jpg addie ( @addie@feddit.uk ) English9•2 years agoIt’s not the compiling that kernel is hard - ironically, it’s one of the easiest things in the whole ecosystem to compile, got great tooling. It’s breaking down the mental barrier of something that you thought would be hard, but turns out to be completely within your grasp. Great work, keep it up, and never be afraid to keep pushing onwards.
Yes, that was my experience as well. And of course there is the added tension that if you mess up somehow your system might become unbootable.
JuxtaposedJaguar ( @JuxtaposedJaguar@lemmy.ml ) 1•2 years agoI didn’t dare try to recompile it myself until I saw someone do it in a Youtube video. Changing the config is literally an interactive menu with labelled options and buttons. And your distro almost certainly includes a copy of the settings it uses, so you can just change a few values and keep everything else the same.
fmstrat ( @fmstrat@lemmy.nowsci.com ) English8•2 years agoCongrats! Keep this kind of mindset if you can, even later in life. It will continue to take you farther in life than you would imagine.
min_fapper ( @min_fapper@iusearchlinux.fyi ) English3•2 years agoYep. The mindset will take you much further than the kernel itself.
Borgzilla ( @Borgzilla@lemmy.ca ) English7•2 years agoCongrats!
GeekyOnion ( @GeekyOnion@beehaw.org ) English5•2 years agoI used to do this with Gentoo, and it was always a blast! Glad that you’re having fun “rolling your own!”
banazir ( @banazir@lemmy.ml ) English4•2 years agoNice! I also compiled the kernel multiple times when I used Gentoo back in mid 00’s. It may not be a big deal as such, but I feel kind of good being able to say I’ve done it.
Next challenge: write your own kernel.
tony ( @tony@lemmy.hoyle.me.uk ) English1•2 years agoI installed gentoo from stage 1 or maybe 2 back in the day… it compiles to compiler to compile the rest of the build process and then compiles the kernel and base… quite fascinating but it took about 3 hours on the hardware I was using.
snor10 ( @snor10@lemm.ee ) English4•2 years agoNow this is what gives a man the feeling of power.
JuxtaposedJaguar ( @JuxtaposedJaguar@lemmy.ml ) 4•2 years agoI feel like compiling your own kernel officially makes you not a normie. So… Welcome to the club!
erwan ( @erwan@lemmy.ml ) 2•2 years agoHey, I did compile my kernel so I’m part of the club!
But now that I think about it, the last time was 20 years ago and it’s because it was the only way to get my sound card and network card working…
glibg10b ( @glibg10b@lemmy.ml ) English4•2 years agoDamn, you ran
make
?Sure did.