LinuxQuestions.org
Register a domain and help support LQ
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 07-22-2005, 06:06 AM   #1
Stamp
LQ Newbie
 
Registered: Feb 2004
Location: Poland
Distribution: Debian
Posts: 14

Rep: Reputation: 0
chapter 6.3 of LFS 6.1


I want too chroot too my lfs, but when i`m chrooting i get this error:
Code:
chroot: cannot run command `/tools/bin/env': No such file or directory
Whats wrong? i`ve checked if it exist and yes it exists in /tools/bin and /mnt/lfs/tools/bin.
 
Old 07-22-2005, 06:57 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Can you post the exact command you're trying to use.
 
Old 07-22-2005, 07:10 AM   #3
Stamp
LQ Newbie
 
Registered: Feb 2004
Location: Poland
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
I use this command:
Code:
chroot "$LFS" /tools/bin/env -i \
    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    /tools/bin/bash --login +h
 
  


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
LFS 6 Chapter 6.3 chroot error gatblast45 Linux From Scratch 8 01-01-2008 03:12 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS 6 Chapter 6.8 mount error gatblast45 Linux From Scratch 20 01-04-2006 05:48 PM
LFS 5.0 Chapter 5 cuco76 Linux From Scratch 1 11-23-2003 10:28 PM
LFS 3.3 - chapter 6 - glibc error fend88 Linux From Scratch 5 04-28-2002 11:06 PM


All times are GMT -5. The time now is 01:42 PM.

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