[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Nov 29 10:58:05 2004 -->
- <!--x-from-r13: wbr.frpuzna ng tznvy.pbz (Xbr Erpuzna) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: cofftn$tod$[email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] chroot problems -->
- <li><em>date</em>: Mon Nov 29 10:58:05 2004</li>
- <li><em>from</em>: joe.sechman at gmail.com (Joe Sechman)</li>
- <li><em>in-reply-to</em>: <cofftn$tod$[email protected]></li>
- <li><em>references</em>: <cofftn$tod$[email protected]></li> libtermcap.so.2 => /lib/libtermcap.so.2 (0x0062f000) libdl.so.2 => /lib/libdl.so.2 (0x00a06000) libc.so.6 => /lib/tls/libc.so.6 (0x0016f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00408000)
- <li><em>subject</em>: [ale] chroot problems</li>
# 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
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
>
--
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>