it shows: -rwxr-xr-x 1 root root 265848 يول 18 2014 /sbin/init
2016-04-03 20:49 GMT+01:00 Marwa Hamza <marwahamz...@gmail.com>: > the output of this command > ./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” > > > 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= > option to kernel > > 2016-04-03 19:38 GMT+01:00 Pranith Kumar <bobby.pr...@gmail.com>: > >> On Sun, Apr 3, 2016 at 9:50 AM, Marwa Hamza <marwahamz...@gmail.com> >> 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 >> > >