Huh.  What do you see with "ls -l /rootpart/lib" ?  It acts like maybe
it can't find the libraries, or maybe the programs are linked to need
something like a LD_LIBRARY_PATH.  Hmmm, maybe I can find something
about RC=254, um, not sure.  I have tested 2.0.96 with the current
RedHat, even the 7x issues I thought were fixed as far as that goes.
It might also matter if /rootpart/etc/ld.so.conf.cache.whatever was
messed up, you might want to try "chroot /rootpart /sbin/ldconfig"
and see if that helps or works.  The ldconfig program for *sure* is
not going to be dynamically linked, so if ldconfig works it is a good
chance that the problem is library related.  -Tom

Are you sure you have the mountpoints in the right place for /lib?

> -rwxr-xr-x 1 root root 373176 Apr  6 1999 /rootpart/bin/bash
> lrwxrwxrwx 1 root root      4 Jun 29 2001 /rootpart/bin/sh->bash
> -rwxr-xr-x 1 root root  70864 Sep 22 1999 /rootpart/sbin/lilo
>
> ----- with tomsrtbt-1.7.361 -----
>
>   + chroot /rootpart bash
>   chroot: cannot execute bash: No such file or directory
>   + chroot /rootpart /bin/bash
>   chroot: cannot execute /bin/bash: No such file or directory
>   + chroot /rootpart /sbin/lilo -q
>   chroot: cannot execute /sbin/lilo: No such file or directory
>
> ----- with tomsrtbt-2.0.96 -----
>
>   + chroot /rootpart /bin/sh
>   + RC=254
>   + chroot /rootpart /bin/bash
>   + RC=254
>   + chroot /rootpart /sbin/lilo -q
>   + RC=254
>
> =====
> Bill Kemmery, Unix Admin since 1979
>
> "There is no good implementation of a bad design."
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>

Reply via email to