Re: [lfs-support] LFS -Chapter 6.4 - CHROOT - Frustrating me badly.... I've tried so many things...

2012-01-05 Thread Andrew Benton
On Wed, 04 Jan 2012 21:25:27 -0700
jasonps...@jegas.com wrote:

 Hello Folks,
 
 I need more help I'm afraid. 
 
 Error Message: chroot failed to run command '/tools/bin/env' : No such
 file or directory
 
What do you get when you run (on your host system):
 ldd /tools/bin/env

If it lists anything in /lib or /usr then you've made a mistake
somewhere. It should only list things in /tools.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS -Chapter 6.4 - CHROOT - Frustrating me badly.... I've tried so many things...

2012-01-04 Thread jasonpsage
Hello Folks,

I need more help I'm afraid. 

Error Message: chroot failed to run command '/tools/bin/env' : No such
file or directory

I've confirmed it's there: /mnt/lfs/tools/bin/env
I've made sure $LFS = /mnt/lfs
I've executed the command directly and get a list of environment
variables. Thinking this might be wrong,
I even tried:

 /mnt/lfs/tools/bin/env --help 

And I got Help!  I even tried the chroot in $LFS/tools/bin/ just to see
what would happen - SAME ERROR

Does anyone know what this could be? It seems so simple a thing and yet
its preventing me from moving forward and I really really want to keep
moving forward if possible.

Any ideas?

Thank You!
--Jason


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS -Chapter 6.4 - CHROOT - Frustrating me badly.... I've tried so many things...

2012-01-04 Thread Austin Jones
I encountered the same problem about a week ago. Be sure to check that the 
partition you have LFS on is actually mounted, as sometimes when your host 
boots it will not mount it automatically. 

On Jan 4, 2012, at 11:25 PM, jasonps...@jegas.com wrote:

 Hello Folks,
 
 I need more help I'm afraid. 
 
 Error Message: chroot failed to run command '/tools/bin/env' : No such
 file or directory
 
 I've confirmed it's there: /mnt/lfs/tools/bin/env
 I've made sure $LFS = /mnt/lfs
 I've executed the command directly and get a list of environment
 variables. Thinking this might be wrong,
 I even tried:
 
 /mnt/lfs/tools/bin/env --help 
 
 And I got Help!  I even tried the chroot in $LFS/tools/bin/ just to see
 what would happen - SAME ERROR
 
 Does anyone know what this could be? It seems so simple a thing and yet
 its preventing me from moving forward and I really really want to keep
 moving forward if possible.
 
 Any ideas?
 
 Thank You!
 --Jason
 
 
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS -Chapter 6.4 - CHROOT - Frustrating me badly.... I've tried so many things...

2012-01-04 Thread jasonpsage
I encountered the same problem about a week ago. Be sure to check that the 
partition you have LFS on is actually mounted, as sometimes when your host 
boots it will not mount it automatically. 

Thank you for the speedy response! You Rock!

Unfortunately its not that easy. I even got help this past hour from a
GREAT linux sys admin who works in a datacenter and after an hour he was
scratching his head too. He had me making environment variables that
used alternate copies of chroot, we tried making sure the default
bash/sh shell was configured so it would run at least just a chroot
ANYTHING... and nothing

I'm actually going to try running it outside xwindows one time - then
after that - I'm going to hunt for another distro. If it was just me - I
wouldn't but when I got the help I did and he was completely stumped and
he finally said ... YOUR LINUX DISTRO IS MESSED UP MAN. (It's stock
slackware 13.37 32bit - um - seems ok to me less this issue) ...
Anyways... I think its time to try something else for a time anyways.
Bummer too - I was starting to really like the distro (I'm sure I'll use
it again... but... for now? I guess I'm hunting for another distro to
build on)

Note to self: Test CHROOT FIRST

--Jason

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page