I am running Redhat 9 Standard workstation install. According to up2date
and APT my system is completely up to date. I have a directory which
contains a complete image of another linux(cobalt) server. I am trying
chroot to /vmbkp/ where the other system files are located. I am told
repeatedly that chroot cannot find /bin/bash, Which exists as you can
see below. Is there a bug in it? 


[EMAIL PROTECTED] /]$ ls -l /vmbkp/bin/bash
-rwxr-xr-x    1 root     root       316848 Sep 11 11:34 /vmbkp/bin/bash

[EMAIL PROTECTED] /]$ ls -l /bin/bash
-rwxr-xr-x    1 root     root       626028 Apr  9 09:02 /bin/bash

[EMAIL PROTECTED] /]$ echo $SHELL
/bin/bash

[EMAIL PROTECTED] /]$ sudo chroot /vmbkp/
chroot: /bin/bash: No such file or directory

[EMAIL PROTECTED] /]$ sudo chroot /bin/bash -i  /vmbkp/
chroot: cannot change root directory to /bin/bash: Not a directory

[EMAIL PROTECTED] /]$ sudo chroot /vmbkp/ /bin/bash -i
chroot: /bin/bash: No such file or directory

[EMAIL PROTECTED] /]$ sudo chroot /vmbkp/ /vmbkp/bin/bash -i
chroot: /vmbkp/bin/bash: No such file or directory


David Grier <[EMAIL PROTECTED]>



_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to