Saturday, December 17, 2011

when we mounting chroot /mnt/sysimage we are getting below error, chroot: cannot run command '/bin/sh' :No such file or directory


# ls /bin/sh 

If the command returns no file or directory again, then run

# ls /bin/bash

If this command returns the path of /bin/bash then recreate the symlink from /bin/sh to /bin/bash as such:

# ln -s /bin/sh /bin/bash
 
 

No comments:

Post a Comment