[baker-baker] can't chroot to side mounted root

T. Onoma transami at runbox.com
Sat Dec 20 10:13:36 EST 2003


I'm so close. But it looks like there's a serious problem. I can't chroot with 
root mounted onto a side directory.

  `chroot ./ ./root/bin/bash`

This returns an error saying that bash doesn't exist. But I have verified that 
it is there. In fact this works fine:

  `./root/bin/bash`

I have tried using the full path, and the path without the '.', but to no 
avail. Is it just a fact that Linux expects bash on the "same path" no matter 
the chroot? i.e. if bash is at /bin/bash normally then it has to be /bin/bash 
under the new root too.

This is really frustrating.

-- 
T.



More information about the Baker-baker mailing list