LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-03-2014, 03:14 PM   #1
CBM200
LQ Newbie
 
Registered: Feb 2014
Posts: 11

Rep: Reputation: Disabled
The build is prepared but confused about the next steps to build the LFS system


Hi,

in order to learn more about Linux, I am currently in the process to "Build Linux from Scratch", which I am trying to do according the book version SVN-20140127.

So far, I finished chapter 5 "Constructing a Temporary System", which means I have all the files compiled and I can find a lot of files in the /tools directory.

In chapter 6, I am throught the first sub-chapters did the chroot and established the directories, essential files and symlinks.

In the chroot-environment, my next steps would be "6.7 Linux-3.13 API Headers".

Do I have to do the same procedure as for chapter 5, which was: uncompress the source files, change into the new directory and do there the make commands? ... I mean it seams pretty obivous, but honestely, I would like to be sure, so I am asking first, before I have to do all over again.

Thanks for your understanding! Cheers
 
Old 02-03-2014, 04:56 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by CBM200

Do I have to do the same procedure as for chapter 5, which was: uncompress the source files, change into the new directory and do there the make commands?
Yes.

The "General Compiling Instructions" still apply in chapter 6. Only now, things will be installed in folders in the new system (instead of in the /tools directory).
 
Old 02-03-2014, 08:20 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The /tools section is really nothing more than a bootstrap system to natively build your OS in a clean environment.

As a general rule any time you get a command to create a new build directory make sure its deleted after you finish the section your on before proceeding. You will have the option now in Chapter 6 of archiving your source packages using the command:

Code:
make clean
...after you finish the installation and post-install configuration section, or you can simply delete the directory outright.
 
Old 02-04-2014, 10:47 AM   #4
CBM200
LQ Newbie
 
Registered: Feb 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
The /tools section is really nothing more than a bootstrap system to natively build your OS in a clean environment.
ahh ... yes ... of course. I am pretty sure the book also explained that, but somehow I forget respectively got confused that indeed I have somehow to deal with 3 systems/environments:
1) my host (where I started with)
2) the clean environment (into which I chrooted)
3) the final goal: my "own" Linux-distro

Somehow, I didn't had this clearly in my mind, when I asked the question.

Anyhow, thanks for your nice comments!
 
  


Reply



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
LXer: Easy Steps to Build Your SMS Gateway in Linux LXer Syndicated Linux News 0 01-04-2014 04:20 PM
[SOLVED] Resuming the LFS build environment after rebooting the system prakashsince92 Linux From Scratch 3 12-19-2010 12:51 PM
can LFS be build as a 64bit system and can I use the slackware /etc scripts rob.rice Linux From Scratch 4 09-12-2008 04:33 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
Can I build 32-bit LFS on a 64-bit AMD system? dhave Linux From Scratch 4 07-23-2007 07:00 PM

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

All times are GMT -5. The time now is 03:43 AM.

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