Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-22-2010, 02:51 AM
|
#1
|
|
Member
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 484
Rep:
|
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.
|
|
|
|
09-22-2010, 01:10 PM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
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.
|
|
|
|
09-23-2010, 12:05 AM
|
#3
|
|
Member
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 484
Original Poster
Rep:
|
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?
|
|
|
|
09-23-2010, 12:38 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
Quote:
Originally Posted by corbis_demon
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.
|
|
|
|
09-23-2010, 01:30 PM
|
#5
|
|
Member
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 484
Original Poster
Rep:
|
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.
|
|
|
|
09-23-2010, 01:34 PM
|
#6
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Great to read that you got it all working! Have fun with your new system 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|