From: Pranith Kumar <bobby.prani@gmail.com>
To: Marwa Hamza <marwahamza63@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system
Date: Sun, 3 Apr 2016 14:20:29 -0400 [thread overview]
Message-ID: <CAJhHMCAMko8BP+RSyOOveHDYSg2HX7O_0TosXFJpFzaNMnc3qQ@mail.gmail.com> (raw)
In-Reply-To: <CAGF64GV+njLc46ndJjKwEM+v2rHdLr0Jm-sUfn2wNSOGETJxcw@mail.gmail.com>
On Sun, Apr 3, 2016 at 9:50 AM, Marwa Hamza <marwahamza63@gmail.com> 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 =i386
> i download busybox 1.21.0
> make ARCH=i386 menuconfig
> I checked the option to compile Busybox as a static executable
> make ARCH=i386 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’t execute it
> kernel panic – not syncing no working init found
Thanks!
--
Pranith
next prev parent reply other threads:[~2016-04-03 18:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 13:50 [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system Marwa Hamza
2016-04-03 18:20 ` Pranith Kumar [this message]
2016-04-03 18:30 ` Marwa Hamza
2016-04-03 18:38 ` Pranith Kumar
2016-04-03 19:49 ` Marwa Hamza
2016-04-03 20:02 ` Pranith Kumar
2016-04-03 20:13 ` Marwa Hamza
2016-04-03 20:14 ` Marwa Hamza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJhHMCAMko8BP+RSyOOveHDYSg2HX7O_0TosXFJpFzaNMnc3qQ@mail.gmail.com \
--to=bobby.prani@gmail.com \
--cc=marwahamza63@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).