|
From: | Marwa Hamza |
Subject: | Re: [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system |
Date: | Sun, 3 Apr 2016 21:14:05 +0100 |
it shows:
-rwxr-xr-x 1 root root 265848 يول 18 2014 /sbin/init2016-04-03 20:49 GMT+01:00 Marwa Hamza <address@hidden>:kernel panic not syncing : no working init found , try passing init= option to kernelstarting init : /bin/sh exists but couldn't execute it (error -8)the output of this command > ./i386-softmmu/qemu-system-i386 -M pc -kernelstarting init :/sbin/init exists but couldn't execute it (error -8)
> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bzImage
> -initrd /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz
> -append “root=/dev/ram rdinit=/sbin/init”
>2016-04-03 19:38 GMT+01:00 Pranith Kumar <address@hidden>:On Sun, Apr 3, 2016 at 9:50 AM, Marwa Hamza <address@hidden> wrote:
> ./i386-softmmu/qemu-system-i386 -M pc -kernel
> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bzImage
> -initrd /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz
> -append “root=/dev/ram rdinit=/sbin/init”
>
Can you post the output when you run this command? In particular, does
the /sbin/init exist in the rootfs?
--
Pranith
[Prev in Thread] | Current Thread | [Next in Thread] |