LinuxQuestions.org
Help answer threads with 0 replies.
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 03-28-2005, 08:48 AM   #1
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Rep: Reputation: 20
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, 08:50 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What's 'echo $LFS' say?
 
Old 03-28-2005, 08: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, 09:11 AM   #4
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
gentoo lfs # echo $LFS
/mnt/lfs
 
  


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

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

All times are GMT -5. The time now is 07:02 PM.

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