Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Chroot Probelm' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Chroot Probelm
Authored by: thochman on May 22, '04 07:19:55PM

Reason I say this is that "chroot: /bin/bash: No such file or directory" is referring to the command "chroot" it can't find it cuz there probably is no path variable set.

Actually, it's chroot saying that /bin/bash cannot be found. If it was bash, the line would start with "bash" and not "chroot". :) The reason this is occurring is because chroot is using /jail as the / directory. Well, since no command is specified, chroot attempts to load up a shell. Namely, /bin/bash. If there's no /jail/bin/bash then chroot spits out the error seen here.



[ Reply to This | # ]