Re: chroot setup problem

2016-04-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2016 at 09:36:57AM -0400, Haines Brown wrote: > On Fri, Apr 22, 2016 at 10:36:36AM +0100, Karl E. Jorgensen wrote: > > > > # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash > > > /usr/sbin/chroot: failed to run command

Re: chroot setup problem

2016-04-22 Thread Haines Brown
On Fri, Apr 22, 2016 at 10:36:36AM +0100, Karl E. Jorgensen wrote: > > # 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.

Re: chroot setup problem

2016-04-22 Thread Cindy-Sue Causey
On 4/22/16, Haines Brown wrote: > On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > >> Does /mnt/debinst/bin/bash exist? >> >> It's looking for /bin/bash in the chrooted environment and not finding >> it. > > I fixed this and: > > $ ls -la /mnt/debinst/bin >

Re: chroot setup problem

2016-04-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2016 at 06:57:17AM -0400, Haines Brown wrote: > On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > > > > On Fri, 22 Apr 2016 at 08:18, Haines Brown wrote: > > > > I attempt to chroot from

Re: chroot setup problem

2016-04-22 Thread Haines Brown
On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > > On Fri, 22 Apr 2016 at 08:18, 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: > >   #

Re: chroot setup problem

2016-04-22 Thread Karl E. Jorgensen
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

Re: chroot setup problem

2016-04-21 Thread Mark Fletcher
On Fri, 22 Apr 2016 at 08:18, 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

chroot setup problem

2016-04-21 Thread Haines Brown
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