Hi; Sometimes the command chroot does not work, for instance ,earlier the same command (below) worked in the same directory! But now I get these:
r...@ubuntu9:disk>chroot . /bin/bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory r...@ubuntu9:disk>pwd /media/disk Then I thought may be since I was running rsync it gave the above error, I exited rsync then: r...@ubuntu9:disk>chroot . chroot: cannot run command `/bin/bash': Exec format error I checked /bin and bash exists (dates in March 2nd 2009/ no changes)) The /media/disk is a hard drive not on obtical but I changed directories anyway but then I get this other error: r...@ubuntu9:xen>chroot /mnt/xen/ chroot: cannot run command `/bin/bash': No such file or directory r...@ubuntu9:xen>pwd /mnt/xen r...@ubuntu9:xen>ls /bin/bash -l -rwxr-xr-x 1 root root 729040 2009-03-02 14:22 /bin/bash Sorry for the long email, I am not looking for answer or reply, it is probably something I am running/doing?! Though as I said the chroot worked earlier today on the same machine!? Thank You Very Much! Mehdi B. Oh.. BTW I forgot: uname -a Linux Ubuntu9 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux r...@ubuntu9:disk>lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.04 Release: 9.04 Codename: jaunty Best Regards; Mehdi Bagheri Austin Texas USA Southampton England (UK) _________________________________________________________________ Get back to school stuff for them and cashback for you. http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1