Visit Jeremy's Blog.
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 03-28-2005, 09:48 AM   #1
Registered: Mar 2002
Distribution: Gentoo & Mandrake 10.1 OE
Posts: 96

Rep: Reputation: 15
getting started in chroot environment

Hi, I'm getting reading to start the chroot environment and this is my problem:

gentoo lfs # 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
chroot: cannot change root directory to : No such file or directory

Any suggestions?
Old 03-28-2005, 09:50 AM   #2
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What's 'echo $LFS' say?
Old 03-28-2005, 09:58 AM   #3
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
My thoughts exactly. It looks like you've not set the variable $LFS to point to your LFS partition.
Old 03-28-2005, 10:11 AM   #4
Registered: Mar 2002
Distribution: Gentoo & Mandrake 10.1 OE
Posts: 96

Original Poster
Rep: Reputation: 15
gentoo lfs # echo $LFS


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
mount in chroot environment not possible moskito01 SUSE / openSUSE 5 12-06-2004 05:06 PM
Problem entering chroot environment. mullog Linux From Scratch 1 06-05-2004 09:12 AM
Apache in a chroot environment tarballedtux Linux - Software 1 04-13-2004 08:37 PM
Out of the chroot environment? R2RO Linux - Networking 0 05-14-2003 05:01 PM
Getting in and out and in again in the CHROOT environment? kRu_ZaDeR Linux From Scratch 8 01-13-2003 01:20 AM

All times are GMT -5. The time now is 01:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration