LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-18-2008, 04:03 PM   #1
rotu
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
LFS6.3 livecd "ls : command not found" error after "su - lfs"


Hi,

a (LFS)linux monkey here. I'm using the LFS6.3 livecd to build LFS. In chapter4, after I ran "source ~/.bash_profile" and then did "su - lfs", I could not do "ls" or "mkdir", I was about to create the binutils-build directory.

everytime I run ls or mkdir, I get the "command not found" error.

I've tried reading some FAQs and other materials but no one seemed to have encountered this. I'm sure I did exactly what the book said.

Thanks

Last edited by rotu; 06-18-2008 at 04:04 PM.
 
Old 06-18-2008, 06:00 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by rotu View Post
I'm sure I did exactly what the book said.
Famous last words Most problems I've encountered with (C)LFS were the result of user error (i.e., not following the instructions).

This
Quote:
Originally Posted by rotu View Post
In chapter4, after I ran "source ~/.bash_profile" and then did "su - lfs"
is backwards from the instructions in the book so maybe you missed something else too. I'd recommend double and triple checking what you did in chapter 4. If you really did things in the order you claim, you didn't create a bash_profile for the lfs user.
 
Old 06-19-2008, 03:59 PM   #3
rotu
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanks weibullguy

I decided to start over and I'm halfway chapter5 now.
 
  


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
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LFS6.1 Section3.13 - Binutils : Error on "make tooldir=/usr" StevePhM Linux From Scratch 4 07-21-2005 12:22 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

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

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