I'm trying to do some work on an image for a raspberry pi, but I don't have access to the pi itself, just the SD card that runs the OS.
I'd like to chroot onto the pi's SD card (mainly to run some pip commands), but I'm getting errors with bash :
chroot: failed to run command ‘/bin/bash’: Exec format error
I assume this is because the programs are compiled for the pi's processor and not mine.
The only thought I have is changing the
$PATH to point to my
/bin, but I can't imagine that being good practice or safe in any way
Is there a way to make this work?