[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot setup problem




On Fri, 22 Apr 2016 at 08:18, Haines Brown <haines@histomat.net> 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.

Haines Brown

Does /mnt/debinst/bin/bash exist?

It's looking for /bin/bash in the chrooted environment and not finding it.

Mark

Reply to: