LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 11-11-2011, 11:52 AM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
building BLFS


I take it I can still carry on building blfs from within he chroot enviroment as I have been lfs. When in the chroot can I switch to a created user to install packages
 
Old 11-11-2011, 12:14 PM   #2
liquidkaleidoscopes
LQ Newbie
 
Registered: Aug 2011
Posts: 27

Rep: Reputation: Disabled
I don't see why not. I'm thinking of doing that myself to copy and paste some of the longer scripts while installing X.

What I did was make a full backup of my L.F.S. installation, once it was complete. That way, if I do mess anything up, I can always go back to the beginning (or the end of LFS).
 
Old 11-11-2011, 12:37 PM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by spiky0011 View Post
I take it I can still carry on building blfs from within he chroot enviroment as I have been lfs.
In theory you probably(!! never tried this myself) can do this, but why would you?

One reason _not_ to do this: A chrooted environment uses the hosts kernel, not the one LFS is build on (and this is also true if the kernel number is the same!!!). Another reason would be: The hosts /dev, /proc and /sys are uses.

The reason one builds an LFS system and on top BLFS is to use it. If you finished LFS successfully, you have a mean lean LFS system which is perfect to build BLFS on.

I really don't see the up-side of continuing use of the chrooted environment to build BLFS if you have a working LFS to do this.

Quote:
When in the chroot can I switch to a created user to install packages
This I don't get. Is that a question or a statement?

Last edited by druuna; 11-11-2011 at 12:44 PM. Reason: Fixed typo
 
Old 11-11-2011, 12:45 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
Ok thks drunna I will take your advice. The reason is a boot problem I,m trying to sort out But thats another post
 
Old 11-11-2011, 12:51 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

A tip that might make BLFS building life a bit easier:

If you have finished BLFS chapters 1, 2 and 3 the first packages you should install:
- GPM
- lynx

You now have a working mouse and web browser and can copy/paste when needed and can also read the BLFS html documentation and download needed stuff from the internet.

Do remember to re-install lynx at a later point if you want to include all the optional stuff mentioned in the chapter.

Hope this helps.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] help me blfs happyrobo Linux From Scratch 79 07-14-2012 09:01 AM
Building Software as an Unprivileged (non-root) User?? BLFS poisoning Linux From Scratch 2 03-30-2011 10:02 AM
I need BLFS !!! nykey Linux From Scratch 1 06-06-2006 07:05 PM
configure problem while building qt-x11-free-3.3.3 (BLFS) jomen Linux - Software 7 09-03-2004 09:15 AM
On to BLFS itsjustme Linux From Scratch 7 09-01-2003 04:20 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration