Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 05-14-2007, 04:22 AM   #1
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Info : not good to BLFS in chroot ...

Hello !

Just a silly error I made, so I post here so that other people won't have the same problem ...

I completed the 6.2 LFS with no problem on my Ubuntu host (some tweaks compared to LFS LiveCD, but nothing serious) and then wanted to go on with BLFS ... I found it was somewhat a good idea to build it in my chrooted system, so my Ubuntu would be available to kill time during builds ...

This is not a good idea ... In fact, ldconfig won't give the good result if run in chrooted environment ... So I had broken deps ... (this is only my guess, but I'm pretty confident)

I'm starting LFS again (LFS takes me 2 days, so it's not so much) and I'll install nothing but the blfs bootscripts and download the dhcpcd on host, then reboot on LFS to build BLFS ...

Hope this will save some time to others

Old 05-14-2007, 05:29 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You messed something up. You can continue to build in the chroot after you're finished with (C)LFS without problems.
Old 05-22-2007, 02:55 AM   #3
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Original Poster
Rep: Reputation: 15
I found out where I messed up ... I used a script to enter chroot environment, which was made to use after chapter 6 is completed (and I was in the middle of chapter 6) ... It won't give errors on the go, but you'll find missing deps later on ... I altered the script to meet my needs, so hopefully I won't face the problem again ...

Thanks for reply and advice


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
debian sarge + lfs + blfs good idea? FireFox8173 Linux From Scratch 3 08-03-2006 08:16 AM
enter chroot for blfs LQ496873 Linux From Scratch 3 03-02-2006 12:01 PM
chroot dhcpd and vsftpd = info needed houler Linux - Security 2 04-02-2005 02:27 PM
Is it ok to install the blfs as chroot? Zero-0-Effect Linux From Scratch 2 03-29-2004 07:37 AM
LFS Faq Good info! And have some more ? jbhoo Linux From Scratch 3 05-14-2002 03:00 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration