Kernel configuration - GNU/Linux
Hi Nixers.

Let me describe my problem.

I've been using GNU/Linux for about 3 years so far. I consider myself to be quite advanced user. For some time I've been using Archlinux, although I didn't feel comfortable with it. Mainly because of systemd.

Hence, I decided to try another disctro which init system doesn't pretend to be everything.

Since Archlinux does not come into play, I've done a little research which clearly shows that Gentoo and CRUX seem to be nice alternatives. Unfortunately, both of them require kernel compilation.
Personally, I think configuring kernel by hand is just pain in the ass. Hundreds of options that require deep understanding of operating system concepts and PC architecture.

So my question is - How do you handle your kernel configuration & compilation task? Are there any tool that helps you automatically detect hardware or something? Gentoo doesn't provide any tutorial for complete kernel configuration.

Please, don't advise me to just use mainstream GNU/Linux distro. Majority of them are too bloated or relay on systemd.

Thanks for help :)
Hey there!

It's easy really, just set aside some time and when you hover over any option and press h it will display a paragraph or so about what exactly this is and if you can safely remove it.

Usually it will even say something like:
"If you don't know what to do say y here"

Some things you can obviously get rid of, like support for alternative filesystems or esoteric network protocols.

I'm not an advanced user and I can do it, I'm positive you can too!

Just take your time :)

Oh and also!
Two things there is something called genkernel and a command make defconfig

I don't have experience with genkernel but I think that it generates a kernel fit to your hardware.

Make defconfig makes the default configuration that should work for pretty much every 64 bit computer
i'm the same boat, archer tired of/frustrated by systemd, looking for something more challenging.

i asked about CRUX on irc, and users told me that their first experience w/ compiling a custom kernel was when they started using CRUX. so assume it's just part of the learning curve.

i need to stop being lazy and give CRUX a try as well.

also based on my research funtoo > gentoo.
Thanks for reply. I will check out your advices!

That's good to hear. At first I thought I wasn't expirenced in Linux enough, but now, thanks to your posts I'll try again.
Also, could you explain a little further about funtoo's advantages over gentoo?
Would be interested to hear funtoo vs gentoo also
As far as I knew they were superficial, things like using git and stiff like that
(14-08-2015, 12:28 PM)Malakian Wrote: ...could you explain a little further about funtoo's advantages over gentoo?

"funtoo is gentoo improved and fun too!"

- does *NOT* use systemd
- git repos (git pull is faster than svn/rsync)
- has all of gentoo's packages + more
- automated kernel build options
- D Rob BDFL
Hardware is so good these days I just be lazy and use genkernel to get a gentoo box up and running. You can always custom compile it later on.
Beware when compiling a custom kernel, do not forget to include any driver!
I tried once to compile a really lightweight and fast kernel.
There's that tool that I forgot the name that probes for modules when you connect all your devices and at the end prepares the kernel with only those.
Don't do that, it's a pain.
Hello, in my experience with CRUX its better cause i can setup my kernel the way i want it and as lite it can be, but i did have to learn more about my hardware and the drivers it use for Linux and were i can enable them so i know what to disable , so i recommend you to have 2 computers IF YOU HAVE THEM one so you can mess with the kernel try and error and other so you can search on internet, Not only you need drivers but you also need to configure more stuff so for example your Tux penguin will show on boot :D . This help me a lot on my CRUX journey and the Installation Document on the CRUX webpage
Just my input in regard to kernel compilation...

All I did when I was on CRUX was add support for ext4, my ethernet card, sound card, and framebuffer support for my graphics card and then it worked. I didn't change anything else. Like, switch 4 options and then thats it.

Members  |  Stats  |  Night Mode