From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46c4e5e0b3c64e8c X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-28 17:46:25 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!swrinde!sgiblab!uhog.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!lstein From: lstein@genome.wi.mit.edu (Lincoln Stein) Newsgroups: comp.unix.osf.osf1 Subject: Re: How to make chroot command work on alpha Date: 28 Dec 1994 17:53:36 GMT Organization: Whitehead Institute for Biomedical Research Message-ID: <3ds8n0$9cq@senator-bedfellow.MIT.EDU> References: <3dd80v$1ud@senator-bedfellow.MIT.EDU> <3drii3$jsl@news.tuwien.ac.at> NNTP-Posting-Host: zorro.wi.mit.edu Thanks to everyone who responded to my posting. In the end, it turned out that Gerhard Kircher had found the problem: I was trying to chroot using the shared-library version of sh. and didn't have libc.so present in my new root. Lincoln In article <3drii3$jsl@news.tuwien.ac.at>, Gerhard Kircher wrote: >Lincoln Stein (lstein@genome.wi.mit.edu) wrote: >: # chroot /usr/local/newroot/bin/ /bin/sh > >: The error message is: >: chroot: /bin/sh not found >I think you mean > > chroot /usr/local/newroot /bin/sh > >but anyway it will not work unless you have > > /etc/sia/matrix.conf > /etc/sia/siainitgood > >under your /usr/local/newroot. Besides that you should use >the statically linked binaries from /sbin unless you also >have > > /usr/shlib/libc.so > /sbin/loader . -- ======================================================================== Lincoln D. Stein Whitehead Institute/MIT Genome Center lstein@genome.wi.mit.edu Cambridge, MA 02142 ========================================================================