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

[no subject]



# mkdir /virtual/1/lib
# cp <lib files from above preserving directory heirarchy> /virtual/1/lib/

Just a thought....

On Mon, 29 Nov 2004 10:40:32 -0500, Eric Anderson <eric at afaik.us> wrote:
> I am having some problems with chroot. To isolate my problem I have
> reduced it down to the following command lines.
> 
>    # 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
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; 
&gt; 


-- 
Joe Sechman
Unix / Linux Systems Administrator
RLU: #367555
<a  rel="nofollow" href="http://counter.li.org";>http://counter.li.org</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01071" href="msg01071.html">[ale] Re: chroot problems</a></strong>
<ul><li><em>From:</em> eric at afaik.us (Eric Anderson)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01068" href="msg01068.html">[ale] chroot problems</a></strong>
<ul><li><em>From:</em> eric at afaik.us (Eric Anderson)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01069.html">[ale] december NW ALE meeting</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01071.html">[ale] Re: chroot problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01068.html">[ale] chroot problems</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01071.html">[ale] Re: chroot problems</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01070"><strong>Date</strong></a></li>
<li><a href="threads.html#01070"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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