[ubuntu-in] chroot problems

Gora Mohanty gora at sarai.net
Tue Aug 18 18:52:10 BST 2009

On Tue, 18 Aug 2009 22:59:40 +0530
"stranger in black....." <gnuise at gmail.com> wrote:

> On Tue, Aug 18, 2009 at 10:51 PM, Syam Krishnan
> <syamcr at gmail.com> wrote:
> On 08/18/2009 10:49 PM, stranger in black..... wrote:
> > sudo chroot chroot
> 1. why'd you run 'chroot chroot'? (that's chroot twice!)
> 2. What's the output of 'which chroot' and 'which bash'
> the second chroot is a folder inside my home folder.

There needs to be a shell, /bin/bash relative to the path that
you are doing a chroot to. Thus, in your case, there should be
a chroot/bin/bash shell.

It is possible to specify a different shell or command. "man chroot"
for details.


More information about the ubuntu-in mailing list