Failing arch-chroot because of different architecture

Ask questions about Arch Linux ARM. Please search before making a new topic.

Failing arch-chroot because of different architecture

Postby cerberto » Thu Aug 06, 2015 3:19 pm

I'm running Arch on my laptop (x86_64) and I'm trying to chroot into the ArchlinuxARM for my Raspberry Pi 2 (ARMv7l), installed on a microSD.

I want to install packages on my system by chrooting in it from my laptop's Arch, because I have no I/O devices available for the RPI right now..

I get exactly the same error reported here, i.e. $this->bbcode_second_pass_code('', 'chroot: cannot run command '/usr/bin/bash': Exec format error'), which is apparently related to the fact that different architectures are involved.

Any alternative solution?
cerberto
 
Posts: 1
Joined: Thu Aug 06, 2015 2:57 pm

Re: Failing arch-chroot because of different architecture

Postby moonman » Sat Aug 08, 2015 5:33 am

Alternatives:
1) just connect rpi to the network and ssh into it.
2) qemu-static - research is on you
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests