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 11:56:10 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!uunet!news.tuwien.ac.at!gkws.edvz.tuwien.ac.at!gk From: gk@gkws.edvz.tuwien.ac.at (Gerhard Kircher) Newsgroups: comp.unix.osf.osf1 Subject: Re: How to make chroot command work on alpha Date: 28 Dec 1994 11:35:31 GMT Organization: Vienna University of Technology, Austria Message-ID: <3drii3$jsl@news.tuwien.ac.at> References: <3dd80v$1ud@senator-bedfellow.MIT.EDU> NNTP-Posting-Host: gkws.edvz.tuwien.ac.at X-Newsreader: TIN [version 1.2 PL2] Lincoln Stein (lstein@genome.wi.mit.edu) wrote: : I'm running an alpha with OSF1 v1.3, and having a heck of a time : getting the chroot(8) command to work from the shell. I've set up my : directory thusly: : /usr/local/newroot/bin/. : sh* : ls* : pwd* : usr/bin/ : etc/ : When I try this command, it fails: : # chroot /usr/local/newroot/bin/ /bin/sh : The error message is: : chroot: /bin/sh not found : What am I doing wrong? The same setup works fine under SunOS 4.3.1. : Thanks for your help. : Lincoln : -- : ======================================================================== : Lincoln D. Stein Whitehead Institute/MIT Genome Center : lstein@genome.wi.mit.edu Cambridge, MA 02142 : ======================================================================== Hi, 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 . Regards, -gerhard -- Gerhard Kircher kircher@edvz.tuwien.ac.at Vienna University of Technology phone: +43 1 588 01 5599 Computing Services fax : +43 1 587 42 11 Wiedner Hauptstrasse 8-10, A-1040 Vienna, Austria