On Thu, Apr 21, 2016 at 07:17:14PM -0400, Haines Brown wrote:
> I attempt to chroot from /dev/sdb on /dev/sda. 
> 
>   # mount /dev/sda1 /mnt/debinst
> 
> I verify it is mounted and then do:
> 
>   # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash
>   /usr/sbin/chroot: failed to run command `/bin/bash': No such file or  
>     directory 
> 
> /usr/bin/chroot exists. So does /mnt/debinst. So does /bin/bash.

/bin/bash is irrelevant in this context - the filename will be looked
up _inside_ the chroot, so you need to check that
/mnt/debinst/bin/bash exists (and the shared libraries it uses...)

Hope this helps

--
Karl

Reply via email to