Carlos,

On Monday 13 November 2006 07:35, Carlos E. R. wrote:
> The Monday 2006-11-13 at 06:41 -0800, Martin Mielke wrote:
> >  # pwd
> > /disk2/mnt/sources
> >
> > # chroot /disk2/mnt/sources
> > chroot: cannot run command `/bin/bash': No such file or directory
>
> Mi understanding is that trying to run a command that is not local to
> the chroot environment would fail. But the chroot command itself
> should run.

If you run chroot with only the new root directory name, it's kind of 
like "su," in that it runs an interactive shell. Or tries to. In this 
case, there was no shell to run (or one of its dynamic dependencies 
could not be resolved), so an error results.

It's all in the man page.


> ...


Randall Schulz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to