LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-23-2003, 07:08 AM   #1
Lauwe
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
Question chapter 6, what am i doing wrong?


I'm trying to make a LSF-system for the first time and i am using knoppix as base-system. i downloaded the packages and put them in $LFS/lfssources. I installed all the packages according to chapter 5 and everything seemed to go just fine. (i did however do everything as root, because it was just as easy and i figured i couldn't destroy the knoppix-system in any way)

so (still as root) i run:
Quote:
chroot $LFS /static/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
/static/bin/bash --login
my bash then says :"I have no name!" (this to me indicates the chroot worked..)

but when i now try to use any commands such as ls or mkdir (except for the cd command) my bash tells me something like: "directory or command does not exist."

what did i do wrong ?
 
Old 06-24-2003, 12:59 AM   #2
Lauwe
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I found the problem. i thought i had completed chapter 5 correctly, but i didn't. for some reason (i think i made a typo or something) the file-utils-package compiled the wrong way and didn't have static linking.

(use the file <filename> -command to see if a file is dynamically/statically linked).

after recompiling everything worked fine

(thanks to the guys on irc.linuxfromscratch.org)
 
Old 07-05-2003, 12:24 PM   #3
2k.
Member
 
Registered: Apr 2003
Location: Exeter - UK
Distribution: Gentoo
Posts: 45

Rep: Reputation: 15
I have just had the same problem and solved it by reinstalling file utils without the patch.

posting this in the hope it helps someone

Mike
 
  


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
chapter 6.3 of LFS 6.1 Stamp Linux From Scratch 2 07-22-2005 07:10 AM
Chapter 5.13 GCC and C++ RobbieB Linux From Scratch 1 02-07-2005 07:29 PM
LFS 5.0 Chapter 5 cuco76 Linux From Scratch 1 11-23-2003 10:28 PM
chapter 5 to 6 pierow Linux From Scratch 5 10-04-2003 02:07 PM
Scripting in Chapter 6 RoyGBiv Linux From Scratch 2 06-18-2003 08:16 AM

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

All times are GMT -5. The time now is 11:49 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