[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
chroot problem?
From: |
David Grier |
Subject: |
chroot problem? |
Date: |
11 Sep 2003 15:28:23 -0400 |
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?
address@hidden /]$ ls -l /vmbkp/bin/bash
-rwxr-xr-x 1 root root 316848 Sep 11 11:34 /vmbkp/bin/bash
address@hidden /]$ ls -l /bin/bash
-rwxr-xr-x 1 root root 626028 Apr 9 09:02 /bin/bash
address@hidden /]$ echo $SHELL
/bin/bash
address@hidden /]$ sudo chroot /vmbkp/
chroot: /bin/bash: No such file or directory
address@hidden /]$ sudo chroot /bin/bash -i /vmbkp/
chroot: cannot change root directory to /bin/bash: Not a directory
address@hidden /]$ sudo chroot /vmbkp/ /bin/bash -i
chroot: /bin/bash: No such file or directory
address@hidden /]$ sudo chroot /vmbkp/ /vmbkp/bin/bash -i
chroot: /vmbkp/bin/bash: No such file or directory
David Grier <address@hidden>
- chroot problem?,
David Grier <=