Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I'd like to use the linux-libre kernel as an option, along with the mainline kernel. Is there an LFS-specific scenario that needs to be accommodated, or is it similar to building the main kernel? Please advise.
First time I hear of the linux-libre kernel and thus I never tried to use it.
After reading a bit about it I don't see any real problems in using that kernel, but I would be careful and try the following scenario first:
Build a normal, stable LFS (version 6.6 is the latest stable at the moment). With normal I mean: Use the kernel that is recommended in the book. Once you have it build and it works, compile the linux-libre kernel and point an entry to it in the grub menu ("dual boot" original and libre kernel). This way you can fall back to your original kernel if needed and tinker with the linux-libre kernel.
If that works, then you can try building an LFS system based on the linux-libre kernel and headers (see this LFS chapter).
Thanks druuna. Sorry, I assumed everybody would know about the -libre kernel. The idea of a truly free kernel seems enticing, hence my interest in it. As you suggested, I compiled it and I added an entry in my lilo.conf, and I could boot into it just fine. Everything works. I have mostly generic hardware, so I don't think there'd have been too many problems. Today I'll start building a new LFS setup based on the -libre kernel. Hope it works out as well.
Success! The experiment with the -libre kernel achieved its objective fantastically well. Will turn this into my default LFS system now. Also, succeeded in adapting the Slackware slackbuild system to the LFS environment. Now I can compile, remove, upgrade packages with impunity, even the core packages. Thanks go out to all involved in the development of these fine programs, and to druuna here at LQ.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.