From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoEc-0001iC-0G for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:02:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amoEb-00044M-6x for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:02:57 -0400 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:33382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoEb-00044C-29 for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:02:57 -0400 Received: by mail-vk0-x233.google.com with SMTP id k1so157465576vkb.0 for ; Sun, 03 Apr 2016 13:02:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Pranith Kumar Date: Sun, 3 Apr 2016 16:02:26 -0400 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marwa Hamza Cc: qemu-devel On Sun, Apr 3, 2016 at 3:49 PM, Marwa Hamza wrote: > the output of this command > ./i386-softmmu/qemu-system-i386 -M pc -kern= el >> >> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bzIm= age >> -initrd >> /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz >> -append =E2=80=9Croot=3D/dev/ram rdinit=3D/sbin/init=E2=80=9D >> > starting init :/sbin/init exists but couldn't execute it (error -8) > starting init : /bin/sh exists but couldn't execute it (error -8) > kernel panic not syncing : no working init found , try passing init=3D op= tion > to kernel > I don't think this is a qemu problem. From the error message it looks like init in your busybox root image is not configured properly. I would focus on finding why the init file is not able to run(permissions, maybe?). --=20 Pranith