|
From: | Urmish Ajit Thakker |
Subject: | Re: [Qemu-discuss] Chroot exec error inspite of qemu-static-arm being installed |
Date: | Fri, 24 Oct 2014 17:38:33 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
...and if you run 'file' on that...? This is the file result .... in/busybox.nosuid: ELF 64-bit LSB executable, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.7.0, BuildID[sha1]=0x449d66054f43dcae8f28ccd92e17c0db27455215, stripped and ldd bin/busybox.nosuid not a dynamic executableSo I upgraded my ubuntu to 14.04 and installed qemu-aarch64-static. Now if I do chroot it tells me "cannot find" /bin/bash! Although it is there!
Wierd thing is, if I run an older image of arm (32 bit architecture). I am able to modify the image.
Regards, Urmish On 10/23/14 17:39, Peter Maydell wrote:
On 23 October 2014 22:51, Urmish Ajit Thakker <address@hidden> wrote:Some more info - I am running an Ubuntu 12.04 machine. Disk Image is for armv8 architecture. (64 bit).Ah, I had wondered. qemu-arm-static is for 32 bit ARM. For 64 bit you want qemu-aarch64-static...So my ls -l bin/ls gives me the following outout bin/ls -> /bin/busybox.nosuid And bin/busybox.nosuid exists in the mount directory....and if you run 'file' on that...? thanks -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |