I'm trying to emulate raspbian on QEMU and there're plenty of guides available on internet. However, every guide points to download qemu-linux kernel from link https://xecdesign.com/downloads/linux-qemu/kernel-qemu however, this link is dead and I was unable to find an alternative link. Is there any alternative link to the kernel or guide how to compile kernel from source to use it for emulation?


Here is a link for that file I have uploaded it to dropbox. https://www.dropbox.com/s/g8u93xblz1v1ly0/kernel-qemu?dl=0

Also, it's been made available on github. Link --> https://github.com/dhruvvyas90/qemu-rpi-kernel

| improve this answer | |
  • 1
    That particular build seems to be lacking cgroups and therefore can't be used to boot Jessie :( – Nathan Osman Nov 17 '15 at 3:15
  • cant boot with jessie as well.. tested both kernel versions.. all gives me "Kernel panic - not syncing : Attempted to kill init" , tested with image 2016-02-09-raspbian-jessie.img – mariomol Feb 14 '16 at 12:50
  • 7
    Please don't like to random files on dropbox. No one knows who you are, nor should they automatically trust you enough to run some random binary you uploaded to dropbox. – Cerin Apr 11 '16 at 17:22

The above link does appear dead, however this one is good.

| improve this answer | |

The answer seems to be pretty late but may help other people. About compiling the kernel from source for qemu, this link has a copy of the original xecdesign webpage as a pdf. Found it atlast !!

| improve this answer | |
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Steve Robillard Oct 5 '15 at 0:46

As mentioned before, dhruvvyas90 provides new patched kernels regularly.

Like you say, most guides are outdated and contain broken links. I recommend this updated guide (feb 2017).


It provides a script that will take care of conditioning of the raspbian image to run in QEMU for you, and will share your network connection with QEMU so you can run apt-get and such.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.