LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 09-22-2010, 03:51 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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.
 
Old 09-22-2010, 02:10 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 09-23-2010, 01:05 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
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?
 
Old 09-23-2010, 01:38 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by corbis_demon View Post
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.
 
Old 09-23-2010, 02:30 PM   #5
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
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.
 
Old 09-23-2010, 02:34 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running kernel.org "mainline" Linux on Xen: FAILED to find root device bojanap Linux - Kernel 1 09-18-2010 12:42 AM
Kernel on the mainline???? linuxunix Linux - Newbie 4 08-16-2010 04:26 AM
LXer: Will Tux3 Soon Enter The Mainline Kernel? LXer Syndicated Linux News 0 02-23-2009 11:41 PM
LXer: Btrfs For The Mainline Linux Kernel LXer Syndicated Linux News 0 01-03-2009 09:20 PM
LXer: Virtual machine added to mainline Linux kernel LXer Syndicated Linux News 0 12-13-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for 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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration