[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



   # chroot /virtual/1/ /bin/bash
chroot: cannot run command `/bin/bash': No such file or directory
   # cd /virtual/1/
1 # ls -la bin/bash
-rwxr-xr-x  8 root root 693116 Feb 21  2004 bin/bash

So my goal is to chroot into the /virtual/1/ directory and run /bin/bash 
once I have chrooted. It gives me back an error that /bin/bash cannot be 
found. But if I cd to /virtual/1/ and then ls bin/bash it is clearly 
there. And bash is just an example. Just about any executable I have 
tried does not seem to work. I know I am missing something extremely 
obvious but it is not coming to me. Any suggestions?

Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01070" href="msg01070.html">[ale] chroot problems</a></strong>
<ul><li><em>From:</em> joe.sechman at gmail.com (Joe Sechman)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01067.html">[ale] december NW ALE meeting</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01069.html">[ale] december NW ALE meeting</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01119.html">[ale] december NW ALE meeting</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01070.html">[ale] chroot problems</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01068"><strong>Date</strong></a></li>
<li><a href="threads.html#01068"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>