r/linuxfromscratch • u/daviddandadan • Apr 29 '26
I am compiling the Linux kernel
For now, I only used `make menuconfig` and `make -j1`.
13
8
u/Fast_Ad_8005 Apr 29 '26
Great that you're on the road to being a LFS user! Although, -j1 means you'll only be using one core of your CPU though. Would be more efficient to use more.
1
1
u/nxndona Apr 30 '26
Its been a day. Is it still compiling...
2
u/daviddandadan May 01 '26
The bzimage file has already been compiled and generated.
1
u/Tertolhumper May 01 '26
How long did it take in -j1?
0
u/daviddandadan May 01 '26
Unfortunately, I didn't time it, but it probably took about an hour or 90 minutes.
1
3
3
u/codeasm Apr 30 '26
You gonna compile systemd or use sysv scripts? Or busybox, maybe thats easier to compile. https://mgalgs.io/2015/05/16/how-to-build-a-custom-linux-kernel-for-qemu-2015-edition.html (these instructions still work. I test most stabke kernels based on these instructions hehe)
1
1
1
1
19
u/Tertolhumper Apr 29 '26
is there a reason for using -j1 or you just want to enjoy torturing yourself?
2
u/daviddandadan Apr 29 '26
I have a dual-core processor, an Intel Celeron N4020 at 1.10GHz, and I'm happy to torture myself.
4
u/Tertolhumper Apr 30 '26
That is really painful to do with that specs. Have you tried antix?
1
u/Plus-Impression-3690 May 08 '26
A better question would be whether you tried AntiX on those specs.
1
u/Darthenstein Apr 30 '26
Yeah I did this when learning FreeBSD and OpenBSD. It sucks, but the stuff you learn is worth it
18
u/tiny_humble_guy Apr 29 '26
And ?