LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Error "Kernel image must be specified" (qemu-system-arm) (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/error-kernel-image-must-be-specified-qemu-system-arm-898112/)

ottavio 08-18-2011 12:40 PM

Error "Kernel image must be specified" (qemu-system-arm)
 
I have am trying to boot a minimal armedslack (slackware on arm) image that contains kernel and relevant modules. I have launched qemu-system-arm on Windows host with this line:

Code:

qemu-system-arm.exe  -drive file=slackware-arm-root,index= 0,media=disk -M versatilepb -m 256  -usb
but I got the error: "Kernel image must be specified".

So I downloaded a kernel and initrd image and added this :

Code:

-kernel zImage-versatile -initrd initrd-versatile.gz -append
"root=/dev/sda1 rootfs=ext2"

and it works fine.

I have used qemu to emulate a x86 guest for years but this was my first attempt at emulating an ARM device. Why does qemu-system-arm need a kernel and a initrd? Is it possible to boot an ARM image directly? Is this a limitation of the ARM architecture or of the volatile board emulation or of qemu-system-arm altogether?


All times are GMT -5. The time now is 03:52 PM.