LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   chroot; /bin/bash error (https://www.linuxquestions.org/questions/linux-newbie-8/chroot%3B-bin-bash-error-682358/)

raj_hcl1986@rediffma 11-10-2008 09:14 AM

chroot; /bin/bash error
 
Hi

When I apply the following command in RHEL5, I am getting the following response:

chroot: cannot run command '/bin/bash': No such file or directory.

Pls tell me what does it mean.

Regds

ptemmerman 11-10-2008 09:23 AM

If you don't specify a command as argument to chroot, then it tries to open your default shell.
Can you check whether /bin/bash executes fine manually?

ptemmerman 11-10-2008 09:24 AM

Moreover, what does "ls -la /bin/bash" return?


All times are GMT -5. The time now is 08:52 AM.