Re: chroot
On Wed, 13.10.99 00:18 -0400, Marshal Wong wrote:
> chroot: cannot execute /bin/bash: No such file or directory
$ ldd /bin/bash
libncurses.so.4 => /lib/libncurses.so.4 (0x40018000)
libdl.so.2 => /lib/libdl.so.2 (0x40058000)
libc.so.6 => /lib/libc.so.6 (0x4005c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> I put bash in $NEWROOT/bin/ but no go either. documentation's a bit
> sparce also.
But you forgot to copy those libraries (the symbolic links and the
real libs!).
bye,
-christian-
--
Linux - the choice of the GNU generation. Join the Debian Project
http://www.debian.org
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20 D2 A1 F5 16 C4 C9 D4 D3 1024/925BCB55 1997/11/01
Reply to:
- References:
- chroot
- From: Marshal Wong <masee@usa.net>