From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammdw-0005BP-IG for qemu-devel@nongnu.org; Sun, 03 Apr 2016 14:21:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ammdv-00018E-Kh for qemu-devel@nongnu.org; Sun, 03 Apr 2016 14:21:00 -0400 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:35622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammdv-00018A-Fy for qemu-devel@nongnu.org; Sun, 03 Apr 2016 14:20:59 -0400 Received: by mail-vk0-x229.google.com with SMTP id e6so156001990vkh.2 for ; Sun, 03 Apr 2016 11:20:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Pranith Kumar Date: Sun, 3 Apr 2016 14:20:29 -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 9:50 AM, Marwa Hamza wrote: > hello , i tried to run qemu on x64 system , > > those are steps that i followed > i compile the kernel 4.4.1 with arch =3Di386 > i download busybox 1.21.0 > make ARCH=3Di386 menuconfig > I checked the option to compile Busybox as a static executable > make ARCH=3Di386 install > cd _install > mkdir proc sys dev lib etc etc/init.d > gedit etc/inittab > ::sysinit:/etc/init.d/rcS > sudo chmod +x etc/inittab > sudo gedit etc/init.d/rcS > #!/bin/sh Can you try changing this line to: "#!/sbin/ash"? I am not sure busybox has sh shell installed or configured properly. That is what your error message is pointing to atleast. > starting init :/bin/sh exists but couldn=E2=80=99t execute it > kernel panic =E2=80=93 not syncing no working init found Thanks! --=20 Pranith