On 18/06/2023 06:02, Mario Marietto wrote:
> Hello.
>
> Maybe a little problem for you,but a bigger problem for me. I've
> debootstrapped jessie on Ubuntu 14.04 with this command :
>
> debootstrap --foreign --arch=armhf jessie jessie-armhf
> http://archive.debian.org/debian <http://archive.debian.org/debian>
>
> and it worked ok,but when I try to chroot within it :
>
> root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
> chroot ./jessie-armhf /bin/bash
>
>
> it gives the following error :
>
>
> chroot: can't execute command "/bin/bash": No such file or directory
>
>
> but I see the file bash within the directory /bin of the debootstrapped
> directory called "jessie-armhf". What could be the problem ? thanks.
Just to be sure: is your Ubuntu (and your system) armhf?
If not, you'll need something like qemu-user to emulate armhf.
(I'd expect I different error message in case of trying to run a binary
for another architecture, but one never knows...)
--
Goes (Went) over like a lead balloon.
Eduardo M KALINOWSKI
eduardo@kalinowski.com.br