[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
chroot diff. errors?
From: |
Mehdi _1 |
Subject: |
chroot diff. errors? |
Date: |
Mon, 17 Aug 2009 10:08:54 -0500 |
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:
address@hidden:disk>chroot .
/bin/bash: error while loading shared libraries: libncurses.so.5: cannot open
shared object file: No such file or directory
address@hidden:disk>pwd
/media/disk
Then I thought may be since I was running rsync it gave the above error, I
exited rsync then:
address@hidden: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:
address@hidden:xen>chroot /mnt/xen/
chroot: cannot run command `/bin/bash': No such file or directory
address@hidden:xen>pwd
/mnt/xen
address@hidden: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
address@hidden: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
- chroot diff. errors?,
Mehdi _1 <=