I have an IMG file, which is Raspberry Pi image. Can I boot it in Qemu on windows or linux? I am confused by examples, which say I need not only IMG file, but also a "kernel" file. Can I boot just from IMG?

Here is an example of a command:

qemu-system-arm -kernel ~/qemu_vms/<your-kernel-qemu> -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 rootfstype=ext4 rw" -hda ~/qemu_vms/<your-jessie-image.img> -redir tcp:5022::22 -no-reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.