Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: gk@gkws.edvz.tuwien.ac.at (Gerhard Kircher)
Subject: Re: How to make chroot command work on alpha
Date: 28 Dec 1994 11:35:31 GMT	[thread overview]
Message-ID: <3drii3$jsl@news.tuwien.ac.at> (raw)
In-Reply-To: 3dd80v$1ud@senator-bedfellow.MIT.EDU

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


  reply	other threads:[~1994-12-28 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-23  1:09 How to make chroot command work on alpha Lincoln Stein
1994-12-28 11:35 ` Gerhard Kircher [this message]
1994-12-28 17:53   ` Lincoln Stein
  -- strict thread matches above, loose matches on Subject: below --
1994-12-29 17:47 Terry Carruthers
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox