LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Using Linux-Libre kernel alongside mainline (https://www.linuxquestions.org/questions/linux-from-scratch-13/using-linux-libre-kernel-alongside-mainline-833715/)

corbis_demon 09-22-2010 02:51 AM

Using Linux-Libre kernel alongside mainline
 
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.

druuna 09-22-2010 01:10 PM

Hi,

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).

Hope this helps.

corbis_demon 09-23-2010 12:05 AM

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. :)

P.S. Isn't LFS 6.7 the new stable right now?

druuna 09-23-2010 12:38 AM

Hi,
Quote:

Originally Posted by corbis_demon (Post 4106272)
P.S. Isn't LFS 6.7 the new stable right now?

Yep, you are correct. They chnaged this week from 6.6 to 6.7.

corbis_demon 09-23-2010 01:30 PM

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.

druuna 09-23-2010 01:34 PM

Great to read that you got it all working! Have fun with your new system :)


All times are GMT -5. The time now is 12:05 AM.