๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ Linux โ€บ 2978 captured on 2023-07-22 at 17:08:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-09-08)

-=-=-=-=-=-=-

Question: How do I compile the Linux kernel?

By which I mean, what compiler flags, options and configs should I look out for, such that my kernel will actually succesfully run? I am talking about QEMU without KVM as the platform.

Posted in: s/Linux

๐Ÿ”ญ DocEdelgas

2023-07-11 ยท 12 days ago

3 Comments โ†“

๐Ÿ„ Ruby_Witch

Hi! If you're thinking about compiling a custom Linux kernel, the two most popular options are Gentoo and LFS (Linux From Scratch). There are walkthroughs available on https for both of these options.

https://wiki.gentoo.org/wiki/Kernel/Gentoo_Kernel_Configuration_Guide

https://www.linuxfromscratch.org/

However, if you just want to play around with Linux I would recommend choosing a distro flavor that you like and not worrying about compiling a custom kernel, which is a very complex process! Your choice though.

๐Ÿš€ gyaradong

back when I used to do it, there was a TUI (actually even a GUI in GTK) which would configure everything including flags and so on.

๐Ÿ˜Ž Smokey

gentoo is the popular distro for that. Have fun im sure it will be a blast ๐Ÿ’€

2023-07-11 ยท 11 days ago