Re: chroot
On Wed, Oct 13, 1999 at 12:18:19AM -0400, Marshal Wong wrote:
> has anyone tried to use this command? I'm trying to build a
> personalized distribution and need this command so set things up. I
> think I need it anyways. Whenever I try to us it, I get
>
> chroot: cannot execute /bin/bash: No such file or directory
>
> I put bash in $NEWROOT/bin/ but no go either. documentation's a bit
> sparce also.
You need $NEWROOT/lib/ also, at least:
$ ldd /bin/bash
libncurses.so.4 => /lib/libncurses.so.4 (0x40016000)
libdl.so.2 => /lib/libdl.so.2 (0x40056000)
libc.so.6 => /lib/libc.so.6 (0x4005a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
:)
Mirek
Reply to:
- References:
- chroot
- From: Marshal Wong <masee@usa.net>